[NTLUG:Discuss] Running php - learning help
Rob Apodaca
rapodaca at raacc.com
Mon Jun 6 22:24:46 CDT 2005
If you installed php as module...
Make sure you pass this option to apache:
-D PHP4
This is usually done in the startup script.
Also, in apache2 (assuming apache 2...) make sure this entry exists:
LoadModule php4_module /usr/lib/apache2-extramodules/libphp4.so
On Mon, 2005-06-06 at 20:33 -0500, Dennis wrote:
> Starting a new learning curve - learning how to use use php.
>
> Have a book, and the first example is comming up blank. The error must
> be in the configuration of the system for apache or php.
>
> My ultra simple book example:
> <?php
> phpinfo();
> ?>
>
> I made changes to the httpd.conf file to include:
> AddType application/x-httpd-php .php
>
> To allow debuging (not on Internet accessable system), changed php.ini with:
> display_errors = On
>
> When I run firefox against the file (in a special directory -
> file:/programming/php/), I get a blank screen.
>
> OK, I need a 2x4 to guide me in the right direction. Please help.
> Appreciate.
>
> Dennis Rice
> dearroz at comcast.net
>
>
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
>
More information about the Discuss
mailing list