473,785 Members | 2,209 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IIS and Apache to serve one PHP page?

Hello,
If you could assist me with the following situation, I would be very
grateful.
In my current position, we have to use a non-traditional server setup
to serve PHP-generated web pages.
Instead of the classic web server->database server setup, what they
have at my workplace instead is:
Apache on a frontend server -needing to connect to IIS on a backend
server -needing to connect to SQL Server on the same backend
server. This setup was used, according to my understanding, for
security reasons.
Throughout my PHP scripts, I use connection code similar to the
following, which has worked fine for me on a
web server->database server test system:

$myServer = "testservername ";
$myUser = "testuser";
$myPass = "testuserspassw ord";
$myDB = "dbName";

$conn = mssql_connect($ myServer, $myUser, $myPass)
or die("Couldn't connect to Server.");

mssql_select_db ($myDB, $conn)
or die("Couldn't connect to Server database.");

I have changed this code to something like the following for the
production system:

$myServer = "backendservern ame";
$myUser = "testuser";
$myPass = "testuserspassw ord";
$myDB = "dbName";

$conn = mssql_connect($ myServer, $myUser, $myPass)
or die("Could not connect to Server.");

mssql_select_db ($myDB, $conn)
or die("Couldn't connect to server database.");

The problem is that we are receiving the "Could not connect to Server"
error. I.e., Apache is not switching over the processing of the PHP
page to the IIS server once the '$myServer = "backendservern ame";'
code is encountered. (Both the IIS and Apache have the same PHP codes
in their respective directories.)
My questions:
1) Is this sort of setup workable? Has anyone successfully used a
similar setup to this in the past?
2) If so, how to do it? Can Apache be instructed to switch over
processing of PHP pages to the IIS on the other server via some sort
of Apache command? Is it instead some sort of programming issue that
I can fix by tweaking my code?
Thanks again for your assistance. I very much appreciate it,
Simon Gottesman

Aug 4 '07 #1
8 1940
Rik
On Sat, 04 Aug 2007 20:44:51 +0200, <sg*******@yaho o.comwrote:
Hello,
If you could assist me with the following situation, I would be very
grateful.
In my current position, we have to use a non-traditional server setup
to serve PHP-generated web pages.
Instead of the classic web server->database server setup, what they
have at my workplace instead is:
Apache on a frontend server -needing to connect to IIS on a backend
server -needing to connect to SQL Server on the same backend
server.
My questions:
1) Is this sort of setup workable? Has anyone successfully used a
similar setup to this in the past?
2) If so, how to do it? Can Apache be instructed to switch over
processing of PHP pages to the IIS on the other server via some sort
of Apache command? Is it instead some sort of programming issue that
I can fix by tweaking my code?
Seems like unnecessary complication... If apache get's everything from
IIS, why not simply set up a proxy, and let IIS serve everything if that's
the main server....

--
Rik Wasmus
Aug 4 '07 #2
On Aug 4, 3:20 pm, Rik <luiheidsgoe... @hotmail.comwro te:
On Sat, 04 Aug 2007 20:44:51 +0200, <sgotte...@yaho o.comwrote:
Hello,
If you could assist me with the following situation, I would be very
grateful.
In my current position, we have to use a non-traditional server setup
to serve PHP-generated web pages.
Instead of the classic web server->database server setup, what they
have at my workplace instead is:
Apache on a frontend server -needing to connect to IIS on a backend
server -needing to connect to SQL Server on the same backend
server.
My questions:
1) Is this sort of setup workable? Has anyone successfully used a
similar setup to this in the past?
2) If so, how to do it? Can Apache be instructed to switch over
processing of PHP pages to the IIS on the other server via some sort
of Apache command? Is it instead some sort of programming issue that
I can fix by tweaking my code?

Seems like unnecessary complication... If apache get's everything from
IIS, why not simply set up a proxy, and let IIS serve everything if that's
the main server....

--
Rik Wasmus- Hide quoted text -

- Show quoted text -
Do you mean using the mod_proxy Apache module?

Aug 4 '07 #3
sg*******@yahoo .com wrote:
Hello,
If you could assist me with the following situation, I would be very
grateful.
In my current position, we have to use a non-traditional server setup
to serve PHP-generated web pages.
Instead of the classic web server->database server setup, what they
have at my workplace instead is:
Apache on a frontend server -needing to connect to IIS on a backend
server -needing to connect to SQL Server on the same backend
server. This setup was used, according to my understanding, for
security reasons.
Throughout my PHP scripts, I use connection code similar to the
following, which has worked fine for me on a
web server->database server test system:

$myServer = "testservername ";
$myUser = "testuser";
$myPass = "testuserspassw ord";
$myDB = "dbName";

$conn = mssql_connect($ myServer, $myUser, $myPass)
or die("Couldn't connect to Server.");

mssql_select_db ($myDB, $conn)
or die("Couldn't connect to Server database.");

I have changed this code to something like the following for the
production system:

$myServer = "backendservern ame";
$myUser = "testuser";
$myPass = "testuserspassw ord";
$myDB = "dbName";

$conn = mssql_connect($ myServer, $myUser, $myPass)
or die("Could not connect to Server.");

mssql_select_db ($myDB, $conn)
or die("Couldn't connect to server database.");

The problem is that we are receiving the "Could not connect to Server"
error. I.e., Apache is not switching over the processing of the PHP
page to the IIS server once the '$myServer = "backendservern ame";'
code is encountered. (Both the IIS and Apache have the same PHP codes
in their respective directories.)
My questions:
1) Is this sort of setup workable? Has anyone successfully used a
similar setup to this in the past?
2) If so, how to do it? Can Apache be instructed to switch over
processing of PHP pages to the IIS on the other server via some sort
of Apache command? Is it instead some sort of programming issue that
I can fix by tweaking my code?
Thanks again for your assistance. I very much appreciate it,
Simon Gottesman
THe only way processing will switch to the IIS server is if you load a
page containing PHP code on the IIS server or otherwise specifically
call PHP code on that other server. For that you need to be using
networking functions. Exactly which ones depend on your setup, and
every one is different.

Just setting a variable doesn't do a thing - other than set the variable.

And your connection is trying to connect to the mssql server at
"backendserver" , not execute PHP code on that server.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Aug 4 '07 #4
On Aug 4, 6:51 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
sgotte...@yahoo .com wrote:
Hello,
If you could assist me with the following situation, I would be very
grateful.
In my current position, we have to use a non-traditional server setup
to serve PHP-generated web pages.
Instead of the classic web server->database server setup, what they
have at my workplace instead is:
Apache on a frontend server -needing to connect to IIS on a backend
server -needing to connect to SQL Server on the same backend
server. This setup was used, according to my understanding, for
security reasons.
Throughout my PHP scripts, I use connection code similar to the
following, which has worked fine for me on a
web server->database server test system:
$myServer = "testservername ";
$myUser = "testuser";
$myPass = "testuserspassw ord";
$myDB = "dbName";
$conn = mssql_connect($ myServer, $myUser, $myPass)
or die("Couldn't connect to Server.");
mssql_select_db ($myDB, $conn)
or die("Couldn't connect to Server database.");
I have changed this code to something like the following for the
production system:
$myServer = "backendservern ame";
$myUser = "testuser";
$myPass = "testuserspassw ord";
$myDB = "dbName";
$conn = mssql_connect($ myServer, $myUser, $myPass)
or die("Could not connect to Server.");
mssql_select_db ($myDB, $conn)
or die("Couldn't connect to server database.");
The problem is that we are receiving the "Could not connect to Server"
error. I.e., Apache is not switching over the processing of the PHP
page to the IIS server once the '$myServer = "backendservern ame";'
code is encountered. (Both the IIS and Apache have the same PHP codes
in their respective directories.)
My questions:
1) Is this sort of setup workable? Has anyone successfully used a
similar setup to this in the past?
2) If so, how to do it? Can Apache be instructed to switch over
processing of PHP pages to the IIS on the other server via some sort
of Apache command? Is it instead some sort of programming issue that
I can fix by tweaking my code?
Thanks again for your assistance. I very much appreciate it,
Simon Gottesman

THe only way processing will switch to the IIS server is if you load a
page containing PHP code on the IIS server or otherwise specifically
call PHP code on that other server. For that you need to be using
networking functions. Exactly which ones depend on your setup, and
every one is different.

Just setting a variable doesn't do a thing - other than set the variable.

And your connection is trying to connect to the mssql server at
"backendserver" , not execute PHP code on that server.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attgl obal.net
=============== ===- Hide quoted text -

- Show quoted text -
Thanks for the reply Jerry.
Do you mean using PHP sockets?
Aug 5 '07 #5
sg*******@yahoo .com wrote:
On Aug 4, 6:51 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
>sgotte...@yaho o.com wrote:
>>Hello,
If you could assist me with the following situation, I would be very
grateful.
In my current position, we have to use a non-traditional server setup
to serve PHP-generated web pages.
Instead of the classic web server->database server setup, what they
have at my workplace instead is:
Apache on a frontend server -needing to connect to IIS on a backend
server -needing to connect to SQL Server on the same backend
server. This setup was used, according to my understanding, for
security reasons.
Throughout my PHP scripts, I use connection code similar to the
following, which has worked fine for me on a
web server->database server test system:
$myServer = "testservername ";
$myUser = "testuser";
$myPass = "testuserspassw ord";
$myDB = "dbName";
$conn = mssql_connect($ myServer, $myUser, $myPass)
or die("Couldn't connect to Server.");
mssql_select_ db($myDB, $conn)
or die("Couldn't connect to Server database.");
I have changed this code to something like the following for the
production system:
$myServer = "backendservern ame";
$myUser = "testuser";
$myPass = "testuserspassw ord";
$myDB = "dbName";
$conn = mssql_connect($ myServer, $myUser, $myPass)
or die("Could not connect to Server.");
mssql_select_ db($myDB, $conn)
or die("Couldn't connect to server database.");
The problem is that we are receiving the "Could not connect to Server"
error. I.e., Apache is not switching over the processing of the PHP
page to the IIS server once the '$myServer = "backendservern ame";'
code is encountered. (Both the IIS and Apache have the same PHP codes
in their respective directories.)
My questions:
1) Is this sort of setup workable? Has anyone successfully used a
similar setup to this in the past?
2) If so, how to do it? Can Apache be instructed to switch over
processing of PHP pages to the IIS on the other server via some sort
of Apache command? Is it instead some sort of programming issue that
I can fix by tweaking my code?
Thanks again for your assistance. I very much appreciate it,
Simon Gottesman
THe only way processing will switch to the IIS server is if you load a
page containing PHP code on the IIS server or otherwise specifically
call PHP code on that other server. For that you need to be using
networking functions. Exactly which ones depend on your setup, and
every one is different.

Just setting a variable doesn't do a thing - other than set the variable.

And your connection is trying to connect to the mssql server at
"backendserver ", not execute PHP code on that server.

--
============== ====
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attg lobal.net
============== ====- Hide quoted text -

- Show quoted text -

Thanks for the reply Jerry.
Do you mean using PHP sockets?

If your system is set up to use sockets, yes. But there could be a lot
of other ways to set it up, also - web pages on the IIS server and RPC
are two of them.

You need to find out how the admins set up this network before you can
get your code working.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Aug 5 '07 #6
On Aug 4, 7:18 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
sgotte...@yahoo .com wrote:
On Aug 4, 6:51 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
sgotte...@yahoo .com wrote:
Hello,
If you could assist me with the following situation, I would be very
grateful.
In my current position, we have to use a non-traditional server setup
to serve PHP-generated web pages.
Instead of the classic web server->database server setup, what they
have at my workplace instead is:
Apache on a frontend server -needing to connect to IIS on a backend
server -needing to connect to SQL Server on the same backend
server. This setup was used, according to my understanding, for
security reasons.
Throughout my PHP scripts, I use connection code similar to the
following, which has worked fine for me on a
web server->database server test system:
$myServer = "testservername ";
$myUser = "testuser";
$myPass = "testuserspassw ord";
$myDB = "dbName";
$conn = mssql_connect($ myServer, $myUser, $myPass)
or die("Couldn't connect to Server.");
mssql_select_d b($myDB, $conn)
or die("Couldn't connect to Server database.");
I have changed this code to something like the following for the
production system:
$myServer = "backendservern ame";
$myUser = "testuser";
$myPass = "testuserspassw ord";
$myDB = "dbName";
$conn = mssql_connect($ myServer, $myUser, $myPass)
or die("Could not connect to Server.");
mssql_select_d b($myDB, $conn)
or die("Couldn't connect to server database.");
The problem is that we are receiving the "Could not connect to Server"
error. I.e., Apache is not switching over the processing of the PHP
page to the IIS server once the '$myServer = "backendservern ame";'
code is encountered. (Both the IIS and Apache have the same PHP codes
in their respective directories.)
My questions:
1) Is this sort of setup workable? Has anyone successfully used a
similar setup to this in the past?
2) If so, how to do it? Can Apache be instructed to switch over
processing of PHP pages to the IIS on the other server via some sort
of Apache command? Is it instead some sort of programming issue that
I can fix by tweaking my code?
Thanks again for your assistance. I very much appreciate it,
Simon Gottesman
THe only way processing will switch to the IIS server is if you load a
page containing PHP code on the IIS server or otherwise specifically
call PHP code on that other server. For that you need to be using
networking functions. Exactly which ones depend on your setup, and
every one is different.
Just setting a variable doesn't do a thing - other than set the variable.
And your connection is trying to connect to the mssql server at
"backendserver" , not execute PHP code on that server.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attgl obal.net
=============== ===- Hide quoted text -
- Show quoted text -
Thanks for the reply Jerry.
Do you mean using PHP sockets?

If your system is set up to use sockets, yes. But there could be a lot
of other ways to set it up, also - web pages on the IIS server and RPC
are two of them.

You need to find out how the admins set up this network before you can
get your code working.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attgl obal.net
=============== ===- Hide quoted text -

- Show quoted text -
Thanks for the info,
I will look into it.

Aug 5 '07 #7
On Aug 4, 7:30 pm, sgotte...@yahoo .com wrote:
On Aug 4, 7:18 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:


sgotte...@yahoo .com wrote:
On Aug 4, 6:51 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
>sgotte...@yaho o.com wrote:
>>Hello,
>>If you could assist me with the following situation, I would be very
>>grateful.
>>In my current position, we have to use a non-traditional server setup
>>to serve PHP-generated web pages.
>>Instead of the classic web server->database server setup, what they
>>have at my workplace instead is:
>>Apache on a frontend server -needing to connect to IIS on a backend
>>server -needing to connect to SQL Server on the same backend
>>server. This setup was used, according to my understanding, for
>>security reasons.
>>Throughout my PHP scripts, I use connection code similar to the
>>following, which has worked fine for me on a
>>web server->database server test system:
>>$myServer = "testservername ";
>>$myUser = "testuser";
>>$myPass = "testuserspassw ord";
>>$myDB = "dbName";
>>$conn = mssql_connect($ myServer, $myUser, $myPass)
>> or die("Couldn't connect to Server.");
>>mssql_select_ db($myDB, $conn)
>> or die("Couldn't connect to Server database.");
>>I have changed this code to something like the following for the
>>production system:
>>$myServer = "backendservern ame";
>>$myUser = "testuser";
>>$myPass = "testuserspassw ord";
>>$myDB = "dbName";
>>$conn = mssql_connect($ myServer, $myUser, $myPass)
>> or die("Could not connect to Server.");
>>mssql_select_ db($myDB, $conn)
>> or die("Couldn't connect to server database.");
>>The problem is that we are receiving the "Could not connect to Server"
>>error. I.e., Apache is not switching over the processing of the PHP
>>page to the IIS server once the '$myServer = "backendservern ame";'
>>code is encountered. (Both the IIS and Apache have the same PHP codes
>>in their respective directories.)
>>My questions:
>>1) Is this sort of setup workable? Has anyone successfully used a
>>similar setup to this in the past?
>>2) If so, how to do it? Can Apache be instructed to switch over
>>processing of PHP pages to the IIS on the other server via some sort
>>of Apache command? Is it instead some sort of programming issue that
>>I can fix by tweaking my code?
>>Thanks again for your assistance. I very much appreciate it,
>>Simon Gottesman
>THe only way processing will switch to the IIS server is if you load a
>page containing PHP code on the IIS server or otherwise specifically
>call PHP code on that other server. For that you need to be using
>networking functions. Exactly which ones depend on your setup, and
>every one is different.
>Just setting a variable doesn't do a thing - other than set the variable.
>And your connection is trying to connect to the mssql server at
>"backendserver ", not execute PHP code on that server.
>--
>============== ====
>Remove the "x" from my email address
>Jerry Stuckle
>JDS Computer Training Corp.
>jstuck...@attg lobal.net
>============== ====- Hide quoted text -
>- Show quoted text -
Thanks for the reply Jerry.
Do you mean using PHP sockets?
If your system is set up to use sockets, yes. But there could be a lot
of other ways to set it up, also - web pages on the IIS server and RPC
are two of them.
You need to find out how the admins set up this network before you can
get your code working.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attgl obal.net
=============== ===- Hide quoted text -
- Show quoted text -

Thanks for the info,
I will look into it.- Hide quoted text -

- Show quoted text -
Hello again,
Could you help me with an example of how this could be done using the
technique mentioned above: web pages on the IIS Server.
Say, for instance, that my front end Apache Server has a page called
Employee.php that needs to display Employee data, like so:

$getEmployeeStm t = mssql_init("Sp_ Get_EmployeeDat a");
mssql_bind($get EmployeeStmt, "@employeeNumbe r", $employeeNumber ,
SQLVARCHAR, false);
$result = mssql_execute(g etEmployeeStmt) ;
while($row = mssql_fetch_row ($result))
echo "name: $row[0] <br />";

How could I use a web page sitting on the IIS server to get the
required information over to the Apache for this Employee.php page?
Thanks,
Simon

Aug 6 '07 #8
sg*******@yahoo .com wrote:
On Aug 4, 7:30 pm, sgotte...@yahoo .com wrote:
>On Aug 4, 7:18 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:


>>sgotte...@yah oo.com wrote:
On Aug 4, 6:51 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
sgotte...@y ahoo.com wrote:
>Hello,
>If you could assist me with the following situation, I would be very
>grateful .
>In my current position, we have to use a non-traditional server setup
>to serve PHP-generated web pages.
>Instead of the classic web server->database server setup, what they
>have at my workplace instead is:
>Apache on a frontend server -needing to connect to IIS on a backend
>server -needing to connect to SQL Server on the same backend
>server. This setup was used, according to my understanding, for
>security reasons.
>Througho ut my PHP scripts, I use connection code similar to the
>followin g, which has worked fine for me on a
>web server->database server test system:
>$myServe r = "testservername ";
>$myUser = "testuser";
>$myPass = "testuserspassw ord";
>$myDB = "dbName";
>$conn = mssql_connect($ myServer, $myUser, $myPass)
> or die("Couldn't connect to Server.");
>mssql_sele ct_db($myDB, $conn)
> or die("Couldn't connect to Server database.");
>I have changed this code to something like the following for the
>producti on system:
>$myServe r = "backendservern ame";
>$myUser = "testuser";
>$myPass = "testuserspassw ord";
>$myDB = "dbName";
>$conn = mssql_connect($ myServer, $myUser, $myPass)
> or die("Could not connect to Server.");
>mssql_sele ct_db($myDB, $conn)
> or die("Couldn't connect to server database.");
>The problem is that we are receiving the "Could not connect to Server"
>error. I.e., Apache is not switching over the processing of the PHP
>page to the IIS server once the '$myServer = "backendservern ame";'
>code is encountered. (Both the IIS and Apache have the same PHP codes
>in their respective directories.)
>My questions:
>1) Is this sort of setup workable? Has anyone successfully used a
>similar setup to this in the past?
>2) If so, how to do it? Can Apache be instructed to switch over
>processi ng of PHP pages to the IIS on the other server via some sort
>of Apache command? Is it instead some sort of programming issue that
>I can fix by tweaking my code?
>Thanks again for your assistance. I very much appreciate it,
>Simon Gottesman
THe only way processing will switch to the IIS server is if you load a
page containing PHP code on the IIS server or otherwise specifically
call PHP code on that other server. For that you need to be using
networkin g functions. Exactly which ones depend on your setup, and
every one is different.
Just setting a variable doesn't do a thing - other than set the variable.
And your connection is trying to connect to the mssql server at
"backendser ver", not execute PHP code on that server.
--
=========== =======
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@a ttglobal.net
=========== =======- Hide quoted text -
- Show quoted text -
Thanks for the reply Jerry.
Do you mean using PHP sockets?
If your system is set up to use sockets, yes. But there could be a lot
of other ways to set it up, also - web pages on the IIS server and RPC
are two of them.
You need to find out how the admins set up this network before you can
get your code working.
--
============= =====
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@att global.net
============= =====- Hide quoted text -
- Show quoted text -
Thanks for the info,
I will look into it.- Hide quoted text -

- Show quoted text -

Hello again,
Could you help me with an example of how this could be done using the
technique mentioned above: web pages on the IIS Server.
Say, for instance, that my front end Apache Server has a page called
Employee.php that needs to display Employee data, like so:

$getEmployeeStm t = mssql_init("Sp_ Get_EmployeeDat a");
mssql_bind($get EmployeeStmt, "@employeeNumbe r", $employeeNumber ,
SQLVARCHAR, false);
$result = mssql_execute(g etEmployeeStmt) ;
while($row = mssql_fetch_row ($result))
echo "name: $row[0] <br />";

How could I use a web page sitting on the IIS server to get the
required information over to the Apache for this Employee.php page?
Thanks,
Simon
Simon,

This is way too setup-dependent. I could think of at least 20-30 ways
to do it - if not more.

You need to be talking with your sysadmins to see how they set things up.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Aug 7 '07 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2457
by: Ron King | last post by:
When I installed Mandrake 10.0 I thought I had Apache, PHP, and MySQL installed correctly. I could serve web pages, MySQL worked, and when I tried the phpinfo() function, I got a page that looked OK. I could create simple php pages and serve them up. Then I tried to install pear, and things started to be not OK after all. phpinfo() told me that the 'Configure Command' had both the following in it: --with-pear=/usr/share/pear
1
1411
by: Sam Carleton | last post by:
Is it possible to have apache host an asp.net app on a windows server? If so, how? Sam
2
1290
by: joe | last post by:
Hi, I am new to both Apache and PHP. I have installed Apache 2.0.59 and PHP 5.1.6 on WinXP Home. I can run test.php page from default DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs" but I have a subdirectory "C:/Program Files/Apache Group/Apache2/htdocs/sub1" from which I cannot run my test.php page. Can someone give me an idea as what is wrong here and how I can fix it
18
2401
by: rfhurley | last post by:
How do I run a .php program? (I'm starting with the "hello world" script)
6
7979
by: MaiyaHolliday | last post by:
Hello, I've recently installed apache on a new computer, and cannot figure out why my site will not process any includes. (it was working on my old one) There are no errors on the page such as "include not found", rather much of the page is blank where the included menus, etc would be, and the CSS is not attached. thanks so much!!! My httpd.conf looks like this:
0
1550
by: Dan Konecny | last post by:
I have run out of space on a disk which houses a website written in PHP. I created a symbolic link to another disk in the file system pointed to by the IP address which I was able to navigate through a putty window, but I couldn't navigate it through ftp. I managed to adjust setup files for ftp and get past that and to adjust apache setup files so that I can serve up a regular web page from the linked directory through the apache...
0
1125
by: C. (http://symcbean.blogspot.com/) | last post by:
On 26 Oct, 17:10, Dan Konecny <kone...@ptd.netwrote: <snip> <snip> It's nothing to do with the distribution you're running. What the PHP actually does is irrelevant bar the fact that the page you are testing with is far too complex. Try again with a "hello world" program and proceed from there.
5
4870
by: Mani | last post by:
Hi I have created one sample php script to upload excel sheets of very bigger sizes. Also the process happening with each records given in the excel sheets is bit complex. To allow bigger sizes, I have added necessary php ini values in the apache configuration file to override the actual php ini values. The problem is, once i upload the bigger files, it takes longer time say 2 mins or so, after that i am seeing the blank page instead...
6
7600
by: josequinonesii | last post by:
I've searched, I've read, I've tested and re-read numerous post but to no avail yet... Quite simply, the settings I've applied to my httpd.conf, httpd-vhost.conf and my hosts files simply does not work. Please review my work and let me know if you see that one little thing that is throwing me for a loop. HTTPD.CONF # # This is the main Apache HTTP server configuration file. It contains the # configuration directives that give the...
0
9646
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9484
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10350
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10157
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9957
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6742
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5518
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4055
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2887
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.