Re: php is not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Il mer, 2004-12-01 alle 03:23, Nuno Fernandes (Beijufas) ha scritto:
> Hello all
> 
> I'm new on the fedora world and the Core 3 and configuring php and apache under linux.
> 
> I usually configure both on windows plataforms and usually works.
> 
> With others distros i had used like suse or mandrake, i never have problems to build any php web site bcouse always work...
> 
> But then come Fedora and I was unable to run a simple script like this:
> 
> <?php
> echo 'hello world';
> ?>
> 
> a place the file in the correct place (/var/www/html/), the same that was discribed on he conf fil from apache.
> I check the file php.conf on the folder /etc/httpd/conf.d/ to b sure that the php module was loaded by apache, but now way... the problem persist
> 
> I also try this one:
> 
> <html>
> <head>
> </head>
> <body>
> <p>Hello world in HTML</p>
> <br>
> <?php
> echo 'hello world in PHP';
> ?>
> </body>
> <html>
> 
> and the result was the same...
> 
> The browser that i using is firefox 1.0 preview release (the defoult of Fedora Core3) and when i open the php file (http://localhost/testing.php) a blank page apears...
> 
> I read something about the SElinux and Apache on the fedora web site but i guess that my system is woking fine.
> 
> I also would like to get some information on how to configure the squirrel mail.
> 
> Thanks in advance for your time, any sugestions pleace let me know.
> 
> 
> 
> -- 
> This is an email sent via the webforum on http://fcp.homelinux.org

With the main panel of start program choose http server for apache.
Configure the setting and the extension for the index like .html .php
shtml ecc.
Check this options and restart the server.
Create and simple page lie <?php phpinfo(); ?> and save in
/var/www/html/index.php.
Ok it's so stupid but it is important.
Good work.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux