PHP

PHP: install on windows

Posted by on June 29, 2008 at 5:31 pm

Error unable to load php.ini from C:\windows getting error no input file found or blank screen after modifying doc_root Solution This solution will be modified after further testing. What I did was created a custom php.ini , eliminating most of the settings that set in the default php.ini :( i included the mysql information and [...]

Horder error

Posted by on June 17, 2008 at 11:04 am

Warning: register_shutdown_function() [function.register-shutdown-function]: Invalid shutdown callback ‘imap_errors’ passed in /home/gemini/public_html/horde/mas/imp/lib/base.php on line 145   Warning: register_shutdown_function() [function.register-shutdown-function]: Invalid shutdown callback ‘imap_alerts’ passed in /home/gemini/public_html/horde/mas/imp/lib/base.php on line 146   A fatal error has occurred Auth_imp: Required IMAP extension not found. Details have been logged for the administrator.   ——— Fix problem missing php5-imap extension  

PHP fopen function

Posted by on February 20, 2008 at 8:44 pm

Allow url fopen Server-Side Includes Many developers include files by pointing to a remote URL, even if the file is within the local system. For example: With allow_url_fopen disabled, this method will not work. Instead, the file must be included with a local path, and there are three methods of doing this: By using a [...]

php warning: pgsql.so libpq.so.4 cannot open shared object

Posted by on January 19, 2008 at 5:51 pm

PHP Warning:  PHP Startup: Unable to load dynamic library ‘/usr/lib/php/modules/pgsql.so’ – libpq.so.4: cannot open shared object file: No such file or directory in Unknown on line 0 Solution: The above error is a warning that PHP was unable to locate the pgsql.so as it may not be installed on the server. This is find if [...]

PHP Compile

Posted by on December 25, 2007 at 1:34 pm

download the latest version of PHP and untar the source. cd into the folder and run the following command. Apxs2 may be in a different location on your system for zlib supporot add the module –with-zlib ./configure –with-apxs2=/usr/local/apache2/bin/apxs –with-mysql You can reference http://us3.php.net/manual/en/install.unix.apache2.php if you get stuck