You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Bagus Nugroho <bn...@aitemail.com> on 2005/07/02 02:12:38 UTC

[users@httpd] Apache Configuration for PHP

Hi All,

Currently, I'm used Apache 1.3 and willing to upgrade to Apache 2.0/php5
But I'm failed, and just show php code on web-browser.
Is there any special command on httpd.conf or php.ini which totally different with apache 1.3/php 4.3.

Thanks
 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache Configuration for PHP

Posted by Dan Trainor <in...@hostinthebox.net>.
nephish wrote:
> Bagus Nugroho wrote:
> 
>> Hi All,
>>
>> Currently, I'm used Apache 1.3 and willing to upgrade to Apache 2.0/php5
>> But I'm failed, and just show php code on web-browser.
>> Is there any special command on httpd.conf or php.ini which totally
>> different with apache 1.3/php 4.3.
>>
>> Thanks
>>
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server
>> Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>>  
>>
> not sure, but do you have to make the scripts executable ?
> chmod a+x scriptname.php ?
> 
> 

PHP's own UNIX Installation Instructions detail this quite well, for
both Apache 1.3.x and 2.0.x:

http://www.php.net/manual/en/install.unix.php

Thanks
-dant

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache Configuration for PHP

Posted by nephish <ne...@xit.net>.
Bagus Nugroho wrote:

>Hi All,
>
>Currently, I'm used Apache 1.3 and willing to upgrade to Apache 2.0/php5
>But I'm failed, and just show php code on web-browser.
>Is there any special command on httpd.conf or php.ini which totally different with apache 1.3/php 4.3.
>
>Thanks
> 
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
>  
>
not sure, but do you have to make the scripts executable ?
chmod a+x scriptname.php ?


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org