You are here: Re: [PHP] [PHP-INSTALL] Install Problems on Fedora 3 « PHP « IT news, forums, messages
Re: [PHP] [PHP-INSTALL] Install Problems on Fedora 3

Posted by Mark Sargent on 04/10/05 17:09

John Nichel wrote:

> Mark Sargent wrote:
>
>> John Nichel wrote:
>>
>>> Mark Sargent wrote:
>>> <snip>
>>>
>>>> http://www.php.net/manual/en/install.unix.php
>>>>
>>>> it has 2 examples,
>>>>
>>>> 4-1 and 4-2. Little confused with what shared and static modules
>>>> are and
>>>> which 1 pertains to me. I was wanting to get php running to allow base
>>>> to show results of snort logging in mysql. Snort/Mysql/Base etc are
>>>> installed fine, just php is the last hurdle. Again, sorry. Cheers.
>>>
>>>
>>>
>>>
>>> When you installed php, did you install it the same time as Apache
>>> (--with-apache=../apache-1.3.x) or was Apache already installed
>>> (--with-apxs=/path/to/apxs)?
>>>
>> Hi All,
>>
>> okay, I need to ask this "dumb"(?) question. What is the difference
>> between httpd, already installed and Apache..? I thought they were the
>> same. If they are, and I'm using the default version, from install, I
>> just add those lines to the .conf file, yes..? Again, I do truly
>> apologize for what may seem mundane questions. Cheers.
>
>
> As far as the functionality of PHP, there really is no difference in
> the installs. A big advantage to installing PHP as a DSO
> (--with-apxs) vs. a static module (--with-apache) is when it comes
> time to re-install PHP (because you need to add a third party library
> to it, a new version is out, etc.). As a static module, you would
> have to re-configure/compile/install both PHP and Apache, whereas a
> DSO, you only need to redo PHP.
>
> In both cases, the solution to your problem is probably adding this to
> your Apache's config file (httpd.conf), and restarting Apache...
>
> AddType application/x-httpd-php .php
>
Hi All,

thanx, John. I added that via vi and restarted with,
/etc/rc.d/init.d/httpd restart
but, still get the core php code showing in the browser when going to
localhost/index.php. Should I just remove both httpd/php and reinstall
both from source with support..? Cheers.

P.S. This is not a production machine. I'm just learning all of it and
then when confident, will set up a real system. Cheers, again.

Mark Sargent

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация