Re: HP-UX 11 / Apache 1.3.12 / PHP 4.0.2 - include_path error in browser...

From: Date: Sun, 08 Oct 2000 21:10:25 +0000
Subject: Re: HP-UX 11 / Apache 1.3.12 / PHP 4.0.2 - include_path error in browser...
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-201@lists.php.net to get a copy of this message
Hi, I think you missed some points! I cant remember the exact directory you have to put the php.ini, but i think you choose the right one :-), but: 1 - The easy way is to look for a php.ini (even from another SO) and modify it to your needs. The file is commented so you know what every option do. 2 - the include dir is the directory where you will put the .inc (or even the .php/.php3) files. And they usually reside somewhere under the apache root (if you are putting the .inc files together with the .php files just put a dot in the option, like I originally sugested to you. 3 - You compiled the apache with a buit-in php module (good... I was lazy... just compiled the module), so there isnt a executable php. If I'm not wrong you can put the php.ini together with the httpd.conf (not sure although) Christian Lyra > > Now the error message I am getting in the browser changes to: > > Warning: Failed opening '/opt/apache/htdocs/test.php' for inclusion > (include_path='/usr/local/lib/php:/usr/local/include/php') in Unknown on > line 0 Try to do (if you didnt) a <?php phpinfo(); ?>, so you are sure that php is working. (but the error msg is almost telling this :-) ) >

« previous php.install (#201) next »