Upgraded To PHP 5 And Simple Includes Are Not Working

Dec 4, 2007

We upgraded 7 servers from our network from PHP 4.4.7 to PHP 5.2.5, and Apache 1.3.3.9 to Apache 2.0.61. In only one of this servers we found problems with includes...

Include example that works:

Code:
<?
include("http://www.google.com");
?>
This doesnt work:

Code:
<?
include("path/file.php");
?>
And path/file.php does exist, also log error from apache doesnt even show a line .

allow_url_fopen was replaced by allow_url_include and it's set to On.

Im using PHP 5.2.5, Apache 2.0.61, cPanel and RHES 4.

View 10 Replies


ADVERTISEMENT

What Does /22 Subnet Includes?

Sep 12, 2009

I was just wondering what does /22 subnet includes? I mean what sort of following numbers/blocks?

View 2 Replies View Related

Upgraded Server

Aug 18, 2007

I have recently upgraded our server from Server 2000 to Server 2003. Everything was running smoothly except for one thing.

It keeps on forgetting how to display .asp pages.

When I view the website all I get is a white screen as if its loading the page but never does, the busy icon up at the top right hand side of the browser contines to spin but nothing. If I try and view a .html page it works without a problem. So the server is running and it can read .html files without a problem.

Now here is the strange bit, if I restart the the WWW publishing service on the server the .asp page all of a sudden work and continue to work until the following morning when it all dies again.

I have checked the event logs and there is no errors or anything that I can see that would be causing this problem.

Has anyone else had similiar problem or at least have an idea on how to fix this. I can't be restarting the WWW publishing service every day just so .asp pages work!

View 3 Replies View Related

Asp Includes Across Domains

Mar 24, 2007

I have a windows 2003 "web edition" dedicated server leased from fasthosts.

I would like to store some asp includes in a specific location on the server that can be called by different domains.

View 9 Replies View Related

Anyone Upgraded To Centos 5

Jul 10, 2007

I was thinking of upgrading my centos 4.5 systems to 5 but all over their docs its like they are telling you doing any sort of upgrade especially yum upgrade will break everything. It keeps saying fresh install is reccomended method.

View 4 Replies View Related

Upgraded To Openssl 0.9.8g But Now Can't Get PHP To Build

Feb 22, 2008

I might still be a bit too close to the newbie level to be trying this
but I wanted upgrade various components of my cpanel install for security issues.

So I got openssl to update to 0.9.8g and that seemed to be working correctly.

Quote:

openssl version
OpenSSL 0.9.8g 19 Oct 2007

So now I am trying to build PHP 4.4.8 like this:

Quote:

./configure --with-litespeed --with-config-file-path=../php --with-mysql=/usr --with-zlib --with-zlib-dir=.. --with-gd --with-jpeg-dir=.. --with-png-dir=.. --enable-shmop --enable-track-vars --enable-sockets --enable-sysvsem --enable-sysvshm --enable-magic-quotes --with-openssl

And it fails because of the openssl:

Quote:

Make
...
In function `zif_openssl_seal':
/php-4.4.8/ext/openssl/openssl.c:2885: undefined reference to `EVP_CIPHER_CTX_block_size'
collect2: ld returned 1 exit status

(I tried --with-openssl=/usr with no change)

View 4 Replies View Related

Cpanel, Apache, And Includes

Nov 29, 2008

I have a problem I am tracing on a single virtual host on a dedicated server running whm/cpanel and apache 2.2.9. I am tracking down a 500 internal server error on a group of cgi scripts (that works on another virtual host on the same server). Apache was installed with easy apache included with whm.

My problem has been narrowed to the cgi-bin itself. To test I created a simple hello world script that runs in the web directory of this particular virtual host, but gives a 500 error when run in the cgi-bin.

Looking at the configs for apache, boy is this a mess, I have a group of configs in /etc/httpd/conf and another group in /usr/local/apache/conf. When I restarted apache it seems to be reading the /usr/local/apache ones (even though they both look the same in /etc/httpd also.

On the httpd.conf file, the virtual hosts are listed there with all the paths I need. But above each one it gives a warning:

DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.

The include is listed on the virtual host as:
Include "/usr/local/apache/conf/userdata/domain/domain.com/*.conf"
on the one that works. And in the following format:
Include "/usr/local/apache/conf/userdata/std/2/domain2/domain2.com/*.conf"
on the one that doesn't.

The funny thing is that /usr/local/apache/conf/userdata does not exist.

This makes me truly appreciate my DirectAdmin server. Anyone have ideas where to look for adjusting apache server settings on this type of setup?

And is this complicated setup due to easy apache or cPanel itself?

View 2 Replies View Related

Includes In Postfix Configuration

Feb 8, 2007

I have my postfix server configured to allow me to send email without authentication whenever my ip matches a value in my config. Only problem is, i have it open to accept anyone in my subnet, and i'm kind of weary of letting anyone in this area send mail through it.

I have a script on my server that gets my ip address whenever i send an http-based request to my winamp now playing script. When it gets my ip address, it updates a file called ip.txt with my ip address. What i'm trying to do is config my postfix main.cf file to grab the ip from ip.txt, and add it onto the mynetworks variable. Then when i try to send the email, i want it to recognize me, and let me send the email.

View 2 Replies View Related

How To Run SSI(server Side Includes)

Jun 13, 2007

how to run SSI(server side includes) on my linus server,

View 1 Replies View Related

Just Upgraded To CPanel 11 *PICS*

Jun 3, 2007

[url]

[url]

I love it!

View 24 Replies View Related

Webhost Hasn't Upgraded MySQL

Apr 22, 2008

I took out a web hosting plan in 2006. The MySQL version is 4.0

I requested my webhost to upgrade to MySQL 4.1 but they said I'd have to purchase a new account.

Is this reasonable or should I bring it up again and push for them to upgrade?

View 6 Replies View Related

What Includes Your Ideal Web Hosting Package

Oct 16, 2008

what includes your ideal web hosting package. How many space, data transfer, which features? How much do you care about uptime, customer support etc.?

I believe it would be interesting if webmasters can write here how looks their ideal hosting plan...

View 24 Replies View Related

Upgraded Network Port And Now CPU Usage Is Sky High

Jan 17, 2008

Today I upgraded my dual opteron dedicated server from a 10mbps port to 100mbps. While the number of apache access have dropped by about a quarter my CPU usage has increased also by about a quarter, my CPU is touching on 95-100% now.

What’s most likely to be the cause?

What’s also interesting is my network port is only showing 20mbps usage, nowhere near the 100mbps its been upgraded to.

View 8 Replies View Related

Disable Server Side Includes (SSI) In CPanel

Jun 16, 2009

I have issue with my shared server. Someone used SSI to local attack user on my server.

I want to disable SSI but i dont find out how to ? (expect manual recomplie apache)

View 14 Replies View Related

Enabling Server Side Includes Safety

Jan 30, 2008

I want to enable our server ssi server side includes (.shtml parsed).

My hosting company controls our server uptime, daily backup, server loads etc. when i request them; can you please enable ssi for shtml pages, i want to use ssi includes etc.. they suggested me use php instead of shtml for includes.

I want to .shtml, beacuse i use only ssi include header, footer same pages, also these pages search engine friendly.

Apache version: 2.0.52

I posted them please add following lines and restart apache afterwards:

Options +IncludesNoExec
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml

They added and restarted apache, but not any affect. When i access .shtml pages via web browser, page opening successfully but not parse ssi includes, example:

<!--#include file="header.html" -->

but not parse, also i cannot use .htaccess files, our server admin say restricted them because security reasons.

I requested them our server root username and password, they say to me; before give you server root password, we remove all our server administration software from server and server administration service will be cancelled.

View 5 Replies View Related

Upgraded From Shared Hosting To A Virtual Server Help ...

May 28, 2008

I'm familiar with shared hosting but a complete novice to virtual servers, I'm getting the following error message when I go to my new virtual server IP [url]

If you see this page it means:

1. hosting for this domain is not configured

or

2. there's no such domain registered in Parallels Plesk Control Panel 

Now am I getting that because...

a) I need to set something up in the PLESK control panel thing or

b) Is it a DNS issue? Its only been 30 hours since the migration from shared hosting.

I was told when I upgraded that I wouldn't have to do anything and there would be no interruption as the site www.mydomain.com would continue to use the shared hosting until the virtual one was set.

Is it a question of waiting for the DNS to update so it points to [url]: or do I have to set something up?

View 1 Replies View Related

Php Includes Issue On Linux Server With Apache 2.0.63 / Php 5.2.6

Jun 19, 2008

I am having some trouble with getting 'include' working. I have a new dedicated server running Apache 2.0.63 and PHP 5.2.6. Local includes on the same domain are running ok, but remote includes are throwing a problem. On the many sites we plan to host on this servber we use a central 'webmaster' page called as an include from a specific site (also on the same server).

I need to edit the PHP.ini and /or recompile the PHP with the appropriate modules to do one of the following...

1 (ideally) - allow includes from any site that is held on this dedicated server

2. allow includes from specified websites

3. simply allow remote includes

right settings to get one of these

options running and solve my problem?

View 5 Replies View Related

Online Backup Options Which Includes Mobile Access Also

May 19, 2009

Has anyone tried any online backup services which gives mobile access also. I have been thinking about trying one. But I'm not sure if any are better than others. My main concern is security.

View 0 Replies View Related

Apache :: 2.2 To 2.4 Includes No Longer Work For SHTML Files

Oct 23, 2014

I use the Apache server included with Mac OSX as my local development and testing environment for front-end web coding work. On the latest update to Yosemite (10.10), all of my .shtml files stopped processing my include virtual statements (or any SSI statements, for that matter).

I'm not seeing any errors, but the includes just show up like commented out code in the HTML when I view source. I've set up Apache to use a httpd-vhosts.conf for my various local dev servers (project1.local, test.local, etc...) Nothing seems to work.

View 2 Replies View Related

Plesk 12.x / Linux :: Upgraded And Now PSA Service Will No Longer Start

Jun 19, 2014

I upgraded today from 11 to 12, however since the upgrade I am now unable to start the PSA Service, it comes up with the below error.

Starting psa... Starting sw-engine-fpm: Thu Jun 19 13:22:29 2014 (7885): Fatal Error Unable to allocate shared memory segment of 104857600 bytes: mmap: Cannot allocate memory (12)

I have checked resources and everything should be fine, I cant see a reason why it cant allocate the memory, as there is plenty free for it to take from.

I have tried a Bootstrapper repair for 12 however this has not found any issues other than its not able to stop the PSA Service (As its not running)

Everything else is up and running its just the Parallels backend which im guessing is what the PSA Service is!

View 19 Replies View Related

Plesk 11.x / Linux :: Roundcube Webmail Doesn't Work After Upgraded From 11.5.3 To 12

Apr 11, 2015

I updated two days ago the Plesk panel from the Panel itself and it was succesfully but at webmail URL which it appeared one error about default.inc something but after I did refresh some times it disappeared now it doesn't show anything. I tried removing and reinstalling roundcube but still doesn't work..

Here are my logs from /var/log/plesk-roundcube/errors
[09-Apr-2015 14:50:36 UTC] PHP Warning: finfo_file(/usr/share/psa-roundcube/installer/images/roundcube_logo.png): failed to open stream: No such file or directory in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_mime.php on line$n line 754

View 6 Replies View Related

Simple CDN

May 30, 2009

anybody have any experience with SimpleCDN. We are considering using their Hurricane service to stream our media.

View 4 Replies View Related

DTH Is Simple Great

May 27, 2009

Because i have couple site hosted by both hosting company (DTH=downtownhost and TCH=totalchoicehosting) and have positive experience with them i needed to make decision who will be hoster for my new project.

The problem was by both company and by 99% others that traceroute command is not enabled by default and it is essential for my new project.

After exchanging a couple emails with both companies DTH was winner again because DTH allow on shared hosting traceroute command (in situation that you need it).

Answer from TCH was that only on VPS (semi-dedicated) is traceroute command possible and not on shared envirovment.

I must again praise DTH for the way how they handle with their customers and that they are ready to do everything for their customers. Not wonder that they are one of the greatest hosting company.

View 10 Replies View Related

Where I Can Get A Simple SSL Certificate

Aug 29, 2008

where I can get a simple SSL certificate for my web hosting business? So my customers feel safe on submitting their information. Is the standard SSL from GoDaddy pretty good?

View 14 Replies View Related

VPS Down After Simple Reboot

Jan 23, 2007

So I was trying to run a backup process in Plesk 8.1 and the whole panel froze up on me (it's happened numerous times before).

Anyway, since the panel was all frozen up I just went into SSH and did a simple "reboot" (also, as done before many times). Only problem is, this time after I did the reboot the server never actually came back online... it seems to be locked up or something, I have no idea what.

I called my host and they are looking into it but they have no idea what's going on either and it's taking them forever to figure it out all the meanwhile my sites are down.... this isn't good.

Does anyone have any suggestions or advice as to why this could be occuring?

View 2 Replies View Related

Simple SSL Doubt

Sep 4, 2007

I have an ssl issued from my domain company and i have hosting in another company.

I have created an CSR with my hosting, submitted to mine domain company so i can have the ssl, and installed in my hosting company.

But now i want to change mine hosting because the hosting company doesn't accept chained certificates..

So if i change mine hosting i could mantain mine old ssl ? or what does i need to do?

View 6 Replies View Related

Simple Ftp Command

Jul 24, 2007

using ftp via unix command, how do you get all files and sub directories?

get *.*? but will that get sub dir?

btw, how do you get it to switch between ascii and binary for images? does it do that automaticly?

View 1 Replies View Related

Simple Request

Jun 12, 2007

Can you see if my site will load for you:
[url]

Then (if it loads) post the stats from the bottom of the page:
Page creation time: (Numbers)

And:
Your Os:
Your Browser:

Some people say my site won't load or is loading slowly for them, but I have no one to test it, thanks. If possible, I need quite a few tests.

View 4 Replies View Related

Experiences With Simple DNS Plus?

Oct 3, 2007

We are looking at this software. Seems easy enough, secure enough.

Experiences with Simple DNS Plus?

View 2 Replies View Related

Setting Up A Simple Server

May 21, 2009

when I get a server it comes with cPanel and I don't have to do much to get it going, but this time I don't need all the bells and whistles. What should I do to get a server with only CentOS to start running a pretty simple web server that just listens on whatever ip? I just want it to run php,mysql, and a web server which I know how to setup already. What I want to know is what else is necessary to setup? Resolvers, the hostname, bind, named, etc?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved