Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Fedora 4.0- PHP 5 - MYSql 5 -Apache With 64 Bit Installation Help...[URGENT]


Can anyone help in installation of Fedora 4.0 , PHP 5 and MYSql 5
with Apache webserver I want to install 64 bit version of all because I
bought new PC with 64 bit supporting. Please provide me help where I
can get step by step information about installation of all above and if
necessary give download link also. I tried myself lot but not
successfull.

I have 64bit fedora 4.0 which is installed from fedora site.

Guide me soon if possible I need to start project in PHP 5 and MySql 5.




View Complete Forum Thread with Replies

Related Forum Messages:
PHPBB2, PHP 4.3.4, MySQL 4.1.1, Apache 2.0.49, Fedora 2
My combination is:

PHPBB2, PHP 4.3.4, MySQL 4.1.1, Apache 2.0.49, Fedora 2

Anyone out there has a successful combination of newer versions ?

View Replies !
Mysql Using Apache On Fedora Core 5
I'm a newbie in the world of php and linux. In fact I'm just starting to familiarise myself on FC5. Can anyone be so kind as to teach me what are the steps needed, (and checks needed) to get all these up and running on my local machine for me to start coding my website in php?

View Replies !
Apache/mysql/PHP Installation
So i installed xampp package, and that works if i do not touch anything. If i change doc_root in Apache configuration file, localhost points to the location and html files execute normally but php doesnt. Can anyone tell me what else must i setup except Apache conf file so i can execute PHP files in directory i create somwhere on the disk? How can i change the default directory in which php scripts are executed?

View Replies !
Installation (MySQL, Apache, Perl, And PHP)
I just installed MySQL, Apache, Perl, and PHP, and am having some issues with PHP. I am not really sure if it is loaded correctly. When I execute apachectl restart, it responds that the server is restarted, but a test html page with the tag <phpinfo ( )?> does not produce any specific output. Is this a correct test page, or how else can I test that PHP is functioning as a Apache DSO?

View Replies !
Installation Of Php/apache/mysql On Win98
I'm using an old computer - Win 98. I'd like to install php/apache/mySql on it but there are many versions and some do not recommend installing on Win98. If somebody could point me in the right directions about which versions of apache, mySql and PHp - or if there is a package suitable for Win98 that would be great.

View Replies !
Need One Urgent Help With Configuration Of Php With Apache!
I have successfully installed Apache “apache_2.0.54-win32-x86-no_ssl” and
copied “php-5.1.0RC1-Win32” to c: with php name. Now made environment variable
with “C:php” and copied php.ini recommended file in c:windows with php.ini
name. Till now every thing is working fine means server is running but whenever
I add module in https file under conf directory then that got unavailable.

I don’t know why server is unable to load php and specified dll.

Here I have Win XP and firewalled enabled.

View Replies !
(5.1.4) MSSQL Functions Do Not Work Through Apache (on Fedora Core 5)
I'm trying to set up PHP with Microsoft SQL Server support on Fedora
Core 5. I've tried using the FreeTDS libraries, and a connect with
tsql works fine.

I've a little test PHP file that simply connects to a SQL Server
instance, executes a simple query and returns.

If I run php -f /var/www/html/testSqlServer.php it works. (I've run
it as root, a lesser user, and a very limited rights user)

If I access the same file through the browser (i.e. through Apache), it
fails giving this error message:
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to
server: <the_server_ipin /var/www/html/testSqlServer.php on line 7

I've rebuilt PHP multiple times, redone this system, recompiled
FreeTDS in multiple ways, recompiled PHP in multiple ways, tried yum
installs, tried other sources (dries / remi), but I cannot figure out
why this might be. Code:

View Replies !
Mysql + Fedora 5
Apparently the php-5.1.2 that comes with Fedora 5 has no mysql support.
I compiled 5.2.6 with mysql support and it works from the command line
but apache still sees php-5.1.2.

Do I have to recompile apache? Or is there a hack?

View Replies !
Installation With Apache
i have recently installed apache and now im trying to install php. i have the newest php and newest apache i used the self installation then what do i do?

View Replies !
Installation Of Apache
Installed apache_2.0.44-win32-x86-no_ssl.msi on XP Pro, changed port to 8080 as I am running Skype. Opened up browser and typed http://localhost/ This is result Directory Listing Denied, This Virtual Directory does not allow contents to be listed.

View Replies !
Apache Installation
I used to use PHP with IIS as a web server, and everthing was working fine. Recently i formatted my pc, and i decided to try out Apache instead of IIS. I installed apache and when i type http://localhost in my web browser i get the page that apache is installed successfully.

I have also installed php 5 the binary version using the same guidelines which i used to use with my previous installations (and never had any problems). however, this time when i put a website in the root folder and try to access it via my web browser http://localhost/sitefolder/index.php i am simply getting this page cannot be displayed.

View Replies !
Apache Installation Question?
I am able to install Apache in my XP home edition.
I did put a very simple index.html /apache/htdocs/index.html
and when I type in http://localhost/index.html, I get this error :
Not Found.

Please tell me where should I put the index.html?

PS. I did not change httpd.conf and here is part of it

DocumentRoot "/apache/htdocs"

#
# Each directory to which Apache has access, can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# permissions.
#
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>

==== http://localhost/index.html

The requested URL /index.html was not found on this server.
Apache/2.0.52 (Win32) Server at localhost Port 80

==== http://localhost
If you can see this, it means that the installation of the Apache web server software on this system was successful. You may now add content to this directory and replace this page.
Seeing this instead of the website you expected?

This page is here because the site administrator has changed the configuration of this web server. Please contact the person responsible for maintaining this server with questions. The Apache Software Foundation, which wrote the web server software this site administrator is using, has nothing to do with maintaining this site and cannot help resolve configuration issues.

The Apache documentation has been included with this distribution.

You are free to use the image below on an Apache-powered web server.

View Replies !
PHP N Apache Installation On Solaris
Can anyone guide me how to install and configure PHP with Apache on Sun's Solaris 2.7
The details of my Solaris are as follows...

Sun Ultra 5/10
System v Release 4.0
Solaris 2.7
SunOS Release 5.7
Generic_106541_06

View Replies !
Question On My Apache 2.2.4/PHP 5.2.3 Installation
how I could fix this issue with my installation of PHP 5.2.3 as a module of Apache 2.2.4 on my Windows XP Pro SP2 system:

I recently installed Apache 2.2.4 to C:/apache using the installer, then I manually installed PHP 5.2.3 into C:/apache/php. After configuring doc_root in my php.ini file accordingly, I set up PHP as a module for Apache by adding the following lines to my Apache httpd.conf configuration file: Code:

View Replies !
Php-apache Installation Porblems
I have been trying to install php5 to use with apache2 and windows xp. Apache installs fine and when you look up localhost you see the apache welcome screen no problems. Then the fun begins I download php5 save it to C drive under PHP5 move and rename the php.ini file to WINDOWS.

Then move php5ts.dll to WINDOWS-SYSTEM32. Edit the apache config file with the usual LoadModule and AddType info. Then create phpinfo file store it in htdocs in apache. When I try to access it in IE, Firefox or Opera all I get is the error 404 file not found message. If you load a html page into the browser this works fine. I have restored my computer numerous times to rectify the problem but every time same message. No matter where you move the files always the same.

View Replies !
Installation Php For Ldap And Apache Under Linux
i'm trying to compile for apache the php with a link for functions ldap In a static way with apache , i have to launch a configure for apache first , then i go to php and i launch a configure --with-apache= directory apache --with-ldap = directory ldap and i finish with make and make install for php:

this is functionning The last thing to do is to activate module php for apache with the following command for apache :

./configure --activate-module=/src/modules/php3/libphp3.a

and after make and make install but when i launch the make the functions ldap aren't not found I use apache 1.3.12 , php 3.0.17 and openldap 1.2.11 and a linux mandrake 7.0.

View Replies !
Apache & PHP Installation/configuration Problem
I am trying to set up the Apache Server for PHP (in Windows XP), but when I
ad the line:

LoadModule php4_module c:/php-4.2.3-Win32/sapi/php4apache2.dll

(in httpd.conf), then the Apache Server refuces to start (I get "The
requested operation has failed" msg).

Without that line the Apache Server starts with no problems. The directory
path is correct.

View Replies !
Win98, Apache & Php4.3 Installation
I tried to install php as apache module.
Previously it has been cgi. WIn 98 is
not supported but cgi worked fine, anyway.

I tried to everything according to
instructions in php.net, but
still it didn't work.

- I put php4ts.dll to windows/system32 directory.
- I configured http.conf:
- I used the path where I had put
php download (PHP 4.3.3 zip package [6,180Kb]).
- I commented these three lines that were for the CGI-install:
# ScriptAlias /php/ "c:/php/"
# AddType application/x-httpd-php .php
# Action application/x-httpd-php "/php/php.exe"

But Apache didn't start. It died because of this line:
LoadModule php4_module "c:/HERE_WAS_MYPATH/sapi/php4apache2.dll"

http://fi2.php.net/manual/en/install.apache2.php
If you would like to use PHP as a module in Apache 2.0, be sure to move
php4ts.dll for PHP 4, or php5ts.dll for PHP 5, to winnt/system32 (for
Windows NT/2000) or windows/system32 (for Windows XP), overwriting any older
file. You need to insert these two lines to your Apache httpd.conf
configuration file to set up the PHP-Module for Apache 2.0: Example 3-8. PHP
and Apache 2.0 as Module

; For PHP 4 do something like this:
LoadModule php4_module "c:/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php

; For PHP 5 do something like this:
LoadModule php5_module "c:/php/sapi/php5apache2.dll"
AddType application/x-httpd-php .php

Note: Remember to substitute the c:/php/ for your actual path to PHP in the
above examples. Take care to use either php4apache2.dll or php5apache2.dll
in your LoadModule directive and notphp4apache.dll or php5apache.dll as the
latter ones are designed to run with Apache 1.3.x.

Warning
Don't mix up your installation with dll files from different PHP versions .
You have the only choice to use the dll's and extensions that ship with your
downloaded PHP version.

View Replies !
Installation Question Re: Apache Httpd.conf
I'm trying to configure the config file in Apache to load the PHP module, but am getting the following error:

LoadModule takes two arguments, a module name and the name of a shared object file to load it from The lines I added to the config file were as follows:

LoadModule php4_module c:Program FilesPHPphp4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php

I have loaded the appropriate phpapache.dlls into the Apache directory where the apache exe resides, but am still not able to run the web server. If I have copied those files to the directory, do I still need to load the modules within the config file?

View Replies !
Urgent: Cannot Connect To Database Mysql+PHP
I am having a problem connecting to mysql database.
I am using PHP5.0 and mysql 4.1

I am using
mysql_connect("servername","us*ername","password");

Everytime I execute the script the server gives me a message :
Call to undefined function on line number:3

View Replies !
Apache Installation Path With Semicolon - Issue In PHP Configuration In Windows 2k3 Server
I am customizing and bundling the Apache 2.0.59 & PHP 4 instances with
my application.

When I install Apache in Windows 2003 Server R2 system under a path
contains a semicolon character, for example, "C:/my; applications/
webserver/" path, I am getting issues. I am installaing Apache as a
Windows Service under Local System Account and while starting the...

View Replies !
MySQL Installation
i am trying to install mySQL5 server for a computer, but it's hang when it trying to apply security settings. Sometimes, it will show a message which tell the user to open the firewall port for mySQL, but after i open the port, it's still hang, so may i know the reason why it will hang?

if untick the modify security settings, then there is no problem, cos it didn't apply security settings. besides that, may i know how to uninstall the mySQL then install again? is it just remove the program?

View Replies !
Installation And Mysql
My attempt to install php and mysql to my computer failed. There are
errors with both installations. I believe the problem is with my
computer or the Windows XP in it. My computer is an old and cheap
laptop Dell. It has been in trouble for a long time.

I've been learning php on my web site for some time, and wonder
whether or not I can do mysql on web site without installing the
software to computer.

View Replies !
MySQL/Windows Installation Question...
Just upgraded MySQL on my development machine to 4.1 and get the familiar
error "Client does not support authentication protocol...".
A bit of Googling learns this is expected behaviour and all clients in use
should be instructed to use the new protocol (including PHP). However, on
none of the hosts used for hosting client sites this has ever been a problem
yet (most still use 3.23...) and I don't want to be obliged to change things
everytime I move a finished site from my machine to the clients host, so I
prefer to stick with using the old password.

This is possible: the documentation tells me to just start the service with
'mysqld --old-passwords' as option.

However, as per the registry, MySQL starts automatically as a service when
windoze starts. Without this option. Now every restart of the machine I can
stop the freshly started mysqld service and start it again with
the --old-passwords option but it should be possible to do this leaving the
appropriate info in the registry. Anybody 'been there, done that'? Where to
put what in the registry with this effect?

View Replies !
PHP5 Installation With MySQL, Windows 2000
Why I still have "undefined function error" messages?


I included path c:php to my windows env.
Edited php.ini file: include directory value. removed comment mark
from extension=php_mysql.dll
copied libmysql.dll to system32 directory
Apache2 runs fine.
I can run phpinfo.php
I can create a database into the MySQL.

View Replies !
Enabling/Disabling InnoDB With Default Mysql Installation.
If you install mysql and find innodb table type is not available,
follow these steps.

find my.cnf file. usually my.cnf file resides in "mysql/bin" folder.
Then search for "skip-innodb", if you find the line then comment it as
"#skip-innodb", then retart you mysql daemon.

Thats it

To disable, uncomment "skip-innodb" or start mysql daemon with
following command

mysql --skip-innodb

thats it.

View Replies !
Call To Undefined Function - MySQL Installation Faulty?
I encounter an error when trying to connect to MySQL database from PHP. I have checked the web server log. It contains following error:

[Tue Feb 13 10:54:57 2007] [error] [client 172.16.16.50] PHP
Fatal error: Call to undefined function mysql_connect() in C:Program
FilesApache Software FoundationApache2.2htdocsindex.php on line 5,
referer: http://172.16.16.50/

is my MySQL installation faulty? or is it a PHP problem?

View Replies !
Fedora 4
I have setup a Fedora 4 server to use for learning php/mysql. When I
looked at the php info page Configure Command states '--without-mysql'
.. Is this a configuration that needs to be changed and how do I change
this? or Do I need to reinstall php?

View Replies !
PhpMyAdmin Installation - Thorough Installation Guide.
I am trying to install phpMyAdmin-2.6.3-pl1 on my machine because I am familiar with working with it itself, but not installing it. I have Apache 2.0.54, php 4.4.0, mysql 4.1.14 running on a Win XP Home machine. Like I said, I've never installed phpMyAdmin before and I've looked at the documentation and I can kinda make out what it says, but I'd rather try to find a very thorough installation guide.

View Replies !
LAMP - Fedora 4
linux and I'm trying to set up a LAMP server using Fedora 4

I installed all the relevant packages and have Apache serving static pages
however I am unable to access MySql. PHPinfo() tells me that PHP was
built using "--without mysql" in the configure command.

Is there a logical reason why they would do this?

Will all PHP packages be built like this - how will I know without going
through an install?

Whats the best way get it installed - I assume I download the source and
build it myself?

If thats the case what directory will I install it to - I would like to
install it to the same directory it is now but I dont know where that is.
How do I find out?

5.0.4 is what came with Fedora4 but if I build a replacement I will use the
latest release - should I uninstall the current install before upgrading.

I have read SElinux causes problems with LAMP servers Has anyone experienced
this?

Does anyone recommend/reject any Linux flavours for a production server?

View Replies !
Fedora 4 - Php5.2 Or >
Is it possible to install php5.2 or greater on fedora 4? i'm assuming so but having problems doing so. At the moment it has 5.0.4. I've been called into a job that I'm working on site on there server. I can upgrade php but need to leave the machine as it is otherwise. I've tried using; Code:

yum update php

Code:
up2date php


However, none of them seem to be able to find any new packages.

View Replies !
Shell_exec() Server (fedora 3.1)
i have full access to the shell of the server (fedora 3.1) but running this code in a php file on xampp server that i have on the same server , i am not getting the output even when i am trying to pipe the output to an html file . Code:

View Replies !
Fedora - Php - Ldap - W2003
I have problem with binding on active directory from php (fedora4 core)

There is 2 machines. On one machine is w2003 with succesfully installed AD. The other machine is Fedora4 with out-of-the-box installed Apache, php and mysql. In php.ini is loaded module for ldap.
The goal is to query AD from php to check username and password.

This is code: ....

View Replies !
Debugging Php Mail - On Fedora, Using Php5
On Fedora, using php5. The mail() function returns a success - but the
mail itself is not actually sent.

How do I go about debugging this? Do I need to do this at the linux
command level to ensure mail is working? any logs i need to look at?...

View Replies !
Mod_php.so Is Missing After Yum Install Php In Fedora
I am using Fedora 7 Moonshine Linux with Apache installed.
I have installed PHP5 using command: yum install php. Then I configured
httpd adding module mod_php.so to httpd.conf (and other necessary
operations). The problem is that when I am trying to start Apache using
command: httpd -k start, I receive error of missing mod_php.so. To solve...

View Replies !
Install Wordpress On Linux Fedora 6
I'm trying to install wordpress on Linux Fedora 6 but it gives me this error everytime:

Your PHP installation appears to be missing the MySQL which is required for WordPress

I know for sure that its installed because I'm using phpmyadmin 2.11 and its working fine, and also I've install mediawiki and its working fine too. This problem happened also with drupal. I'm not sure why some web apps work fine and others give this error.

View Replies !
Mktime Fails For Pre 1970 On Fedora 3
Fedora 3
Apache 2
PHP 5.0

I have a client's website running on Linux at www.dsvr.co.uk, a well
respected hosting company, and PHP's mktime() as on many Linux versions
still can't handle dates prior to 1970. This is madness. Can anyone explain
why the problem with mktime()'s dependence on glibc STILL hasn't been
addressed as of PHP 5? I can't believe the PHP developers continute to keep
their head in the sand with regard to mktime() and it's problems dealing
with dates prior to 1970. It's no good blaming glibc. If glibc is
problematic dependence on it should have been dropped long ago. Perl's
Date::Calc doesn't suffer from these problems.

View Replies !
Urgent Help With == And Fopen Please
I have a txt file on the server that I need to compare a date with. The contents of the file are like:

020702
050702
...

This would be like July 2, 2002 and July 5, 2002.

So I want to take the current date, and compare it with all the dates in the file and if one of them matches, I want to return true, but for some reason the equality isn't working. When I echo out the values, they are the same ... but ... no luck?

Here is the snippet:

View Replies !
Looking For Smarty Chm (urgent)
I'm looking for last Smarty chm file (english) but Smarty's site is down.
Does anybody can send it to me by email please? Also a link should be
enought...

View Replies !
Need Urgent Help Regarding Web Cam Chat In Php
Anybody have idea or done before web cam chat in php, what are the things needed for that..

View Replies !
Urgent Help With Session
i have developed an application located on a server that has
a front end and a back end interface, the application uses session
object. when i log on as a backend user and a client user form the same

computer, the sessions conflict together and i get unexpected results,
and i found out that this happenes when one of the sessions ends. Ex:
when i log on as a backend user, and then as a front end one(from the
same computer at the same time), if i log out(destroy the session) as a

front end user the back end user no longer works because the session
variables are destroyed.

View Replies !
Urgent String
I am trying to read the content of url into string using following code

curl_setopt($ch, CURLOPT_URL, $new_url);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
$store_content = curl_exec ($ch);

When i am trying to print the string using
print("content is: ".$store_content);

it is printing the whole html page in the browser but when i try to take length of the content using $contentlength=strlen($store_content);

it is returning only 256. and when i try to fetch index of particular string say 'Description' from the content using

$description_start = ' Description'
$description_start_pos=strpos($store_content,$description_start);

it is returning false. But the string is present in the page and i have seen it physically..

View Replies !
Phpbannerexchange2.0 Urgent
my problem is i upload phpbannerexchange2.0 go to see the result but i see this meassage how i finish it Template file /template/footer.php not found.

View Replies !
Set Up A Linux Machine (Fedora 3) As A LAMP Server
I am trying to set up a Linux machine (Fedora 3) as a
LAMP server on a LAN with a Windows XP Prof machine. The boxes are connected
via a cheap switch.

I have added the site address to the Hosts file on both machines, flushed
all chains from iptables on the Linux machine and there appears to be no
firewall on XP.

From the XP machine I can telnet mysite.com 80 and get my html test page -
however when I use Internet Explorer it cannot find my page and responds
"The web page you requested is not available offline". The same thing
happens when I use another box with windows 2000. Pressing the connect
button just sends it off looking for - what I assume - is a DNS site

From the Linux machine I have used Tcpdump to monitor the traffic (at least
this is making me learn about Fedora) on the XP machine. I get plenty of
traffic when I use telnet but nothing when I use Internet explorer - I would
have expected something not that I understand what the messages mean

View Replies !
Crash In PHP 4.3.11 After An Extension Function ( Gcc 4 On Fedora Core 4)
I have an extension in C++, which I compile as a module for php 4.3.11.
I am using PHP 4.3.11 on Fedora Core 4, which has gcc 4 instead of gcc
3.2.

Fedora Core 4 normally comes with PHP 5, but I removed it and installed
PHP 4.3.11 from source, so that I didn't have to figure out problems I
had with my extension and php 5.

After a number of calls to my extension, there is one call to function
(which has been called before) in which the code exits my function, and
then crashes inside PHP shortly thereafter. The seg fault is in
php-4.3.11/Zend/zend_execute.c on line 1658, which reads:

EG(current_execute_data) = &execute_data;

The extension function it is returning from returns a long, not some
fancy php object or reference.

I don't know if anyone on this forum will have any ideas, but if you
have any thoughts at all please offer them.

I am thinking that this might be a result of php being compiled with
gcc4, and the new gcc 4 does something different and exposes some bug
in PHP ? Has anyone seen problems running PHP 4 compiled with gcc 4 ?

View Replies !
No Access : Fedora Linux Page Displaid
Ever had a big problem with webpage displaid? We are runing Apache version is Apache/2.0.50 (Fedora) for pc-linux- gnu on i686 mysqladmin Ver 8.23 Distrib 3.23.58, And webpages do not display correctly (very long time).

View Replies !
Warning Ftp_put - Urgent
I am getting problem in uploading file from php
script. The error is :

Code - $upload = ftp_put($conn_id,$filemax,$src,FTP_BINARY);

Output - Resource id #11,fairmont_mon.txt,/tmp/phpWmPlSJ

Warning: ftp_put() [function.ftp-put]: OOPS: vsf_sysutil_bind in
/var/www/html/hview/hqc/twc_upload/upload_file.php on line 263

View Replies !
Data Recovery **URGENT**
I work on a debian server. with apache doocroot: /home/web.

unfortunatly, the other admin creates a user with /home/web default
directory, and then deletes the user...

/home/web doesn't exists anymore.

View Replies !
Logoff User With Php *urgent*
If somebody could help me with this one it would be very nice,

the story:
I need to check if a user is online or not at the moment i am doing a user
logoff with javascript but this is not browser proof so it doesn't work all
the time. or doing it with a for() statement that writes every 20 sec the
last unix time to a database, this doesn't work because the for() statements
stops executing the rest of the page so that doesn't work either

the problem:
i can only have one user online for a group, so i have to check if the first
that logges in for a group is online or not, i have a check time of 1 minut
so if a user logges off, a new user can login after a minut.

the reason:
so you think what is the problem put a logoff button on the screen and your
finished, well that would be the answer if i wasn't developing a page for
idiots that destroy the browser window by alt-f4 or the cross instead of the
logoff button.

View Replies !
Eregi_replace() Problem? URGENT
<?
$text = '<html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<link href="../style.css" rel="stylesheet" type="text/css">
</head><body></body></html>'
$replacement ='<style type="text/css">body { background-color: #6080AF; }</style>'
$text = eregi_replace("<link[^>]#>",$replacement,$text) ;
echo $text;
?>

In the above script i want to change the red line to green line. But it did not work. any help would be appriated.

View Replies !
Solutions For Can't Use Mail() In Php 4.3.11 In Redhat Fedora 3 When SElinux Is Enabled
Looks like this is a common issue:

If you installed linux Fedora 3 with the default configuration and latest
patches, you will have Apache/2.0.53 (Fedora) and PHP 4.3.11 in your box.

Without any change you can use sendmail, that means you can use mail under
Terminal, but probably you can not use mail() in php.

The error message in maillog will looks like:
"SYSERR(APACHE), Can't write, ... Permission denied."

I spent several days to search Google and manual, no result. With the help
of ¨¢lvaro G. Vicario in this group, the solution is SELinux. Simply disable
SELinux or Check the "Disable SELinux protection for httpd daemon" in
SElinux config solves the problem within 1 second.

Not sure if this will effect FC4 or not. I remember the php mail() works in
my FC4(php5), but I can not remember during the linux install did I disable
the SELinux or not. But looks like this is SELinux thing not PHP's so the
version of PHP will not effect this. I have deleted the FC4 so I can not try
now.

View Replies !
Using External SMTP Auth - Urgent Help Please!
I am trying to make a mail script that can either, securely send email to domains not existing on the local server.

OR

Connect to an external SMTP server through smtp auth and send email that way.

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved