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.





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 Complete Forum Thread with Replies

Related Forum Messages:
What Is The Hierarchy For Setting Open_basedir In Php.ini, Httpd.conf, And Vhost.conf
My understanding is that open_basedir can be set in php.ini or httpd.conf or vhost.conf? Which takes precedence?

View Replies !
PHP, WML And .htaccess/httpd.conf ???
Researching development of a WAP site using WML and PHP. However, I may not necessarily want _all_ of my .wml pages to be PHP-enabled, just normal wml. Therefore, I need the Apache server to recognize multiple file extensions. This is what I'm trying within .htaccess, but it does _not_ work. HELP!!!

# MIME Types for WAP

# For PHP 3.x, use this:
AddType application/x-httpd-php3 .php3 .wml

# For normal WML pages.
AddType text/vnd.wap.wml .wml

# End MIME Types for WAP

View Replies !
Configure Php.ini Or Httpd.conf
I am running php and apache on RH7.3, as the default php scripts only execute on /var/www/html. Is there a way to configure php.ini or httpd.conf to execute in /var/www/cgi-bin or /var/www/php-bin?

View Replies !
Httpd.conf And XAMPP
I use XAMPP to develop locally. There is an external test server here
but it can be a pain to mess with it as I can only use it via SSH
(something else I'm new to) and prefer to develop locally until I have
enough to bother with moving everything up.

In XAMPP, when I use an include, such as <?php include "menu.php";?>, I
have to change that include (which is in the root) to <?php include
"../menu/php";?> This is not a big deal BUT the menu in that include
references images, which are also in the root. Code:

View Replies !
5 Doesn't Add Necessary Lines To Httpd.conf
I've done three installs from source of php5 (5.0.3, 5.1.0, and 5.1.2). On all three the httpd.conf file was not modified to enable php completely. This last time (php 5.1.2) it did insert the line LoadModule php5_module /usr/lib/httpd/modules/libphp5.so into httpd.conf, but it did not insert the necessary lines to tell apache to parse php files.

It's been a while since I did an install of PHP4 but I don't remember having to play with the httpd.conf file back then. I'm wondering if I'm doing something wrong.

View Replies !
Php_admin_value(s) In A Httpd.conf File
This is something that is rather confusing so maybe someone here can shed some light.

I have a web server that has multiple httpd.conf files running. Why you ask? Simple answer - for better site customization on a per site instance.

Since I have several sites that end users administer to vs. myself, I want to make the safe_mode option a local setting vs. a Global setting. Obviously this is more for server security than anything else. I myself would use the setttings in the php.ini file.

Now here is the issue - When using the "php_admin value" to set safe_mode On it does not show up as being set using the <? php_info() ?> tag. It says that safe_mode is set to Off in both the Local and Global settings. What could be the reason for this? Or is it just not being reportred properly.

I have set the safe_mode setting as both a Virtual Server and stand alone. currently here is what I have set.

<VirtualHost yoursite.com>
ServerName yoursite.com
DocumentRoot /path/to/site/files
php_admin_value safe_mode On
php_admin_value safe_mode_gid On
</VirtualHost>

Is there something missing that I need for this to work properly?

Thanks.

PHP Server 4.2.3
Apache 1.3.27
Solaris 8

View Replies !
LoadModule & AddModule In Httpd.conf
I would like to know what is the difference between LoadModule &
AddModule configuration directives in httpd.conf of Apache server.
I guess LoadModule is for loading dynamic modules which or in
object file and the later is to load dynamic modules which are in
source form like c source file. Is that right.

View Replies !
Compiling Php And Specifying No Overwrite On Httpd.conf And Php.ini
Everytime i recompile php it insists on overwriting the httpd.conf and php.ini files.

is there a way i can prevent this by editing one of the php source files? (i grep'ed the entire directory but couldn't find anything useful)

or is it simply a matter of running "make" only and then copying the php binary into /usr/bin?

View Replies !
Server Timeout Variable In Httpd.conf
I'm having some issues with my server timing out (if that is the correct term for this). On certain pages where a lot of database querying or payment processing occurs, the browser will keep loading and loading. The page completes all of it's tasks (the payments are indeed processed) but the confirmation page never comes up.

As a test I set up a simple page which sleeps for a period of time before displaying a simple html page. It works fine up until about 25-30 seconds, where I start to have the same problem of the browser continually loading and no page ever popping up.

I've changed both the max_execution_time variable in php.ini and the server timeout variable in httpd.conf to upwards of 600 seconds with little improvement. Is there another variable I'm missing which needs to be changed? Any other thoughts on the cause of this?

View Replies !
User Authentication Using .htaccess/httpd.conf
I currently have a password protected page that users have to login to view. The authentication method is done in Apache with a password file. So this means the server asked for a username and password and not an actual webpage.

I was curious if there is a way in PHP that I can find out what the username was that the user logged in with.

View Replies !
Httpd.conf Virtual Host Addition
I have been pondering over this for a while and have decided to get your views on this. For my site, I want to allow particular people to create and enable/disable a subdomain to host a small site. The process will have to do the following things.

:: Add a new unix user for the person
:: Create a html directory under that user
:: Write new virtual host details to httpd.conf
:: Create new dns entry for the subdomain

All of these things need to be done asap. I am thinking that allowing php running under apache to do this isn't a good idea at all due to security risks. I am thinking that apache/php should write to a database with the details, and a root cronjob should run a php file using php-client which would create the new subdomains as a batch process every 30 mins to an hour.

View Replies !
Include Path To Virtual Host In Httpd.conf File?
I've read a lot of posts here and other places explaining how to use .htaccess to set the include path for PHP include files.

Upon trying it out,I found that adding the necessary line to my .htaccess file caused an Internal Server Error. I contacted my host, and found that the server is running phpSuexec, which my host says doesn't permit the use of .htaccess to set the php include path.

I'd like to be able to do something "on the server" that would set my include path, rather than using the ini_set('include_path') function on every PHP script I write. Does anyone know of anything that can be done that will allow this?

I'm on shared hosting on a Linux/Apache server. Would there be any possibility of my host being able to add the include path to my account's virtual host in his httpd.conf file?

View Replies !
What Are The Variables Or Constants That Affect The Session Time Out In Php.ini Or In Httpd.conf?
What are the variables or constants that affect the session time out in php.ini or in httpd.conf? When the session expires what happens to the session variables?

View Replies !
PHP Installation And @sbindir@/httpd Error Message
Installing PHP 4.3.6 on a i386 platform w/ FreeBSD 4.9 O/S installed and
running apache_1.3.31

make
with ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
--enable-versioning ===>
.........
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS...

Sorry, I was not able to successfully run APXS. Possible reasons:

1. Perl is not installed;
2. Apache was not compiled with DSO support (--enable-module=so);
3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
The output of /usr/local/apache/bin/apxs follows
apxs:Error: @sbindir@/httpd not found or not executable
configure: error: Aborting
.........

Perl is installed
perl -v
This is perl, v5.8.2

httpd -l
Compiled-in modules:
http_core.c
........
........
mod_so.c
mod_setenvif.c
mod_ssl.cmodule

apxs is installed version ( not from source tarball)
ls -l /usr/local/apache/bin/apxs
-rwxr-xr-x 1 root wheel 24624 Jun 21 01:23 /usr/local/apache/bin/apxs*

and is executible

could not interpret the error message : @sbindir@/httpd not found or not
executable

View Replies !
Problem In The Php.ini File And/or The Httpd.conf File?
I installed PHP5, Apache2 and OpenSSL on my Debian woody server. Everything seems to have installed fine without any complaints.

I can bring up my .php test page fine on the ssl https. But when I try
to bring it http up on port 80 I get the download-a-document and
what-do-you-want-to-open-it with dialogue box, as if there is no PHP on
the machine at all.

Is the problem in the php.ini file and/or the httpd.conf file?

I want PHP to be available to http and https for all hosted sites
including virtual hosts.

View Replies !
Apache Httpd Log Pipe To Php
I would like to pipe my Apache log(s) to a PHP script(s) and then to mySQL. I can successfully pipe the log to a file. Mostly it appended itself to the end of the php script - so some success.

Since in the script below the log is NOT appended to the end of the same script file, may I presume that the script does not know what to do with the input?

How do I get the script to execute and accept the log entries piped from Apache? Code:

View Replies !
Modify The Apache Httpd
some information regarding chaning the configuration parameters of apache server(httpd.conf)dyanamically using php

View Replies !
Apache Conf To Make The PHP's System Command Works On Linux.
I've got a big problem to make my code works.
My system() command don't seems to work.

for that code :

$res = system($command);
echo"res = $res<br>";

the result is "res = " and the command is not executed.

I feel that it come from my Apache configuration.
However my safe_mode_exec_dir is pointing on the dir of my exec code. My OS is Unix.

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 !
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 !
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 !
Can't Install PHP - Keep Getting "Invalid Directory" Error Regarding The Path To Apache Httpd.h
I've installed Apache 1.3.36 on my Redhat EL 3 machine. Now I'm trying
to install PHP 5.1.4. I can not get the ./configure command to work. I
keep getting this error:

configure: error: Invalid Apache directory - unable to find httpd.h
under /usr/local/apache/include

So then I run this command:

find / -name httpd.h

which should find every file on my machine with the name "httpd.h".
These are the results I get:

/usr/local/apache/include/httpd.h
/home/shelley/apache_1.3.36/src/include/httpd.h

So I've rerun the ./configure command, using this first:

--with-apache=/usr/local/apche/include

and since that didn't work:

--with-apache=/home/shelley/apache_1.3.36/src/include/httpd.h

but I get the "Invalid directory" error with both addresses.

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 !
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 !
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 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 !
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 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 !
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 !
Conf Problem?
When i echo the $catid, it returns null. $catid is there, confirmed by
command prompt and "select table from database".

Is php needed to set anything or security issue such that $HTTP_GET_VAR
associative array can't be retrieved?

$catid = $HTTP_GET_VAR['catid'];

echo "catid at showcat: $catid";

View Replies !
Send A Conf Email When A User Registers
I am working my way through a php book and am trying to send a conf email when a user registers but I am getting this error message when I submit the information Warning:

"Failed to connect to mailserver, verify your "SMTP" setting in php.ini in"

I have downloaded QK SMTP server and added Stephen 00 as a user. I am using phpdev. Code:

View Replies !
Httpd.inc Configuration.
I have installed php apache and mysql all otgether not while ago, and i test them and theyr working fine. I also forwarded my domain name to it and everything.

1. when I am typing my domain.com/phpMyAdmin it just take mes to the phpmyadmin, without asking me a log in.
2. I have read all about apache and everything and how it can not be secure sometimes and ppl can get to your httdocs. so my question is how can I configure apache or that httpd file so no one else except me can access those directories?

3. and another question is, is there a way to install PERL on apache?

View Replies !
Httpd Refferer?
I'm not sure if that is what I have to use to accomplish this, but I want to make it so nobody can view a certain page unless they have been to a page that is first requested.
For example, say I have login.php, and administrator.php. They cannot go into administrator.php without first going to login.php. How can this be done?

View Replies !
Httpd Allow Overide?
I am in the httpd file in the Apache folder and need to change the
part that says AllowOverride from None to All, so that when I create a
..htaccess file it wont ignore it.

However in the httpd file there are a few different sections where it
has found the AllowOverride code.

Do I change all of these sections below or just one of them?
- - -

<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>

- - -

#
# AllowOverride controls what directives may be placed in .htaccess
files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All

- - -

Alias /icons/ "C:/ApacheGroup/Apache2/icons/"

<Directory "C:/ApacheGroup/Apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

- - -

AliasMatch ^/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$
"C:/ApacheGroup/Apache2/manual$1"

<Directory "C:/ApacheGroup/Apache2/manual">
Options Indexes
AllowOverride None
Order allow,deny
Allow from all

<Files *.html>
SetHandler type-map
</Files>

View Replies !
Starting & Stopping Httpd
What i want to do is to fire the functions in the httpd script to start, stop, restart, httpd for eg. from the console i would write ( from the init.d dir.)

httpd start. to start the Apache server. but how do i do it from a php script? I can open it with fopen().

View Replies !
AddType Application/x-httpd-php .php
I have mediawiki installed, amd mod_php5 installed. I upgraded to
Apache 2.0.

When I request a wiki page, the server returns the code of the php
page.

Relevant lines from httpd.conf:

LoadModule php5_module
modules/libphp5.so
AddType application/x-httpd-php .php

View Replies !
Can I Restart Httpd From A Php Script?
I have made a solution where a user is added to the system and a folder
is set up for him. In order to make the folder webDAV accessible for
him I have to add some lines to the current httpd.conf file and restart
the webserver. Is this possible to do from my php script - or even
advisable?

I could envision an alternative where i would make a cron job restart
httpd every 15 minutes or so, but i would prefer the first method.
Is this possible?

View Replies !
AddType Application/x-httpd-php .htm
I want to parse some .htm files in a subdirectory as php. To do this I made a .htaccess with online the line:

AddType application/x-httpd-php .htm

in it and uploaded it to the directory with the files I want to parse as php in.
If I now open one of the files it does not parse the file as php instead a window opens telling me a Download-Window opens asking me if I want to save the file on my HDD or if I want to open it with some application.

I got this thing to work some weeks ago but by incident I deleted the .htaccess and with the new one it doesn't work.

View Replies !
Mimetype Application/x-httpd-php
has anyone been able to use succesfully the combination html tag

<script type="application/x-httpd-php" src="xxx.php">
</script>

in theory it should work, shouldn't it?

View Replies !
Suspended Site - Httpd Overloading
I got a really big problem. My host yesterday suspended my site, telling me that my website is doing something, called httpd overloading. This is the report, thay provided me:

View Replies !
AddType Application/x-httpd.php .html .php .htm
I have a site which runs php on nearly every page because of an announcements function. This is is a site on Apache and *nix. It seems to me that on a site like this it would make sense to add the line:

AddType application/x-httpd.php .html .php .htm

to my htaccess file so that I could call all of the main files with the html ending (that's the page files, not the the includes on those pages).

First, did I get this right? I'm looking at a thread here:
http://www.webmasterworld.com/forum88/148.htm?highlight=parse+.php+files

I'm guessing that this will cause a performance hit whenever a straight html file is called and php tries to parse it first.

It also seems to me that the .html will be a bit less secure, since the code may then be accessible. That leads me to think I should keep the main chunks of code as includes in files named *.php.

Are there other costs or benefits? Anything related to SEO that I need to think about?

View Replies !
AddType Application/x-httpd-php Htm Html
I know that you can use the following code in .htaccess to execute .html pages as PHP:

AddType application/x-httpd-php htm html

But, is there a code that can be used to accomplish running a single .html page as php instead of the above code that runs every page on the site as php?

I know that I could just change the .html to .php, but I really want to know if I can run a single .html page as php without changing the extension and without using the (AddType application/x-httpd-php htm html) code that will run all of my .html pages as php.

View Replies !
Upgrade Of Httpd Whacks Textareas
I just spent about 10 hours trying to work out a bug. Due to an upgrade of httpd, a DB migration and a lovely IE bug all happening at once I was thrown in all the wrong directions. Anyway, I thought I'd post this here in case anyone else runs into it.

Basically, our admins upgraded to apache-2.0.40 and it totally whacked textareas in our forms.

It appears there's a bug in that version, combined with php that causes text areas to double in size after hitting submit. This isn't happening in the production server, only the dev. I compiled a custom module for the dev machine, the prod machine is using the rpm.

View Replies !
Set Php_admin_flag With Apache Env Var In Apache Config
SetEnvIf Server_Addr 192.168.1.10 HTTP_X_PHP_ERRORS_DISPLAY=on
php_admin_flag display_errors HTTP_X_PHP_ERRORS_DISPLAY

is something like this possible? In other words, can I set a php ini var in apache config from an apache env var?

View Replies !
Sending Mail In Omni HTTPd With Mail()
Whenever I try and use the mail function I get a "Failed to Connect" error. I'm running PHP4.0, Omni Httpd 2.06 on Win98. Is there something else I have to do to enable email? I know if worked before on PWS, but I switched because I couldn't get PHP4 to run under PWS. Any help is greatly appreciated.

View Replies !
Warning: Move_uploaded_file(httpdocs/fliers/Request.log): Failed To Open Stream: No Such File Or Directory In /home/httpd/vhosts/kabalkc.com/httpdocs/Class/uploadClass.php On Line 39.
my Error:

Warning: move_uploaded_file(httpdocs/fliers/Request.log): failed to open stream: No such file or directory in /home/httpd/vhosts/kabalkc.com/httpdocs/Class/uploadClass.php on line 39.

View Replies !

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