De: Ashley Sheridan a...@ashleysheridan.co.uk
Para: m...@nikha.org; Domain nikha.org m...@nikha.org
Cc: php-general@lists.php.net
Enviadas: Quarta-feira, 25 de Setembro de 2013 2:22
Assunto: Re: [PHP] Apache
Domain nikha.org m...@nikha.org wrote:
Ashley
On 23 Sep 2013, at 11:37, Domain nikha.org m...@nikha.org wrote:
Tamara Temple am Montag, 23. September 2013 - 06:49:
GoDaddy's default plesk-generated configuration for FastCGI-served
PHP
files only looked to see if the file contained .php somewhere on
it's path - i.e. it would happily
Ashley Sheridan am Montag, 23. September 2013 - 21:35:
No, no, no! That is not a good stand-in for fundamental security
principles!
This is a better method for ensuring an image is really an image:
?php
if(isset($_FILES['file']))
{
list($width, $height) =
Tamara Temple am Montag, 23. September 2013 - 22:38:
On Sep 23, 2013, at 1:36 PM, Domain nikha.org m...@nikha.org wrote:
Better solutions?
One I have used, and continue to use in Apache environments, is place
uploads only in a place where they cannot be executed by turning off
such
Domain nikha.org m...@nikha.org wrote:
Ashley Sheridan am Montag, 23. September 2013 - 21:35:
No, no, no! That is not a good stand-in for fundamental security
principles!
This is a better method for ensuring an image is really an image:
?php
if(isset($_FILES['file']))
{
Ashley Sheridan am Dienstag, 24. September 2013 - 18:22:
In an earlier email I detailed some methods for validating other types, such
as DomDocument for HTML, XML, svg, etc, or fpdf for PDF.
Fine, gratulations!
And on behalf images: GD you are using handles only
jpeg, gif and png. There
Domain nikha.org m...@nikha.org wrote:
Ashley Sheridan am Dienstag, 24. September 2013 - 18:22:
In an earlier email I detailed some methods for validating other
types, such
as DomDocument for HTML, XML, svg, etc, or fpdf for PDF.
Fine, gratulations!
And on behalf images: GD you are using
Tamara Temple am Montag, 23. September 2013 - 06:49:
GoDaddy's default plesk-generated configuration for FastCGI-served PHP
files only looked to see if the file contained .php somewhere on it's
path - i.e. it would happily execute 'malicilous.php.txt' as php code,
even something ridiculous like
On 23 Sep 2013, at 11:37, Domain nikha.org m...@nikha.org wrote:
Tamara Temple am Montag, 23. September 2013 - 06:49:
GoDaddy's default plesk-generated configuration for FastCGI-served PHP
files only looked to see if the file contained .php somewhere on it's
path - i.e. it would happily
Stuart Dallas am Montag, 23. September 2013 - 12:58:
And, honestly, who would have a PHP file per language? I think it's
perfectly reasonable to not allow that, because duplicating PHP code
across many files is an incredible stupid way to support multiple
languages.
I agree!! Didn't even know,
On Mon, 2013-09-23 at 20:36 +0200, Domain nikha.org wrote:
Stuart Dallas am Montag, 23. September 2013 - 12:58:
And, honestly, who would have a PHP file per language? I think it's
perfectly reasonable to not allow that, because duplicating PHP code
across many files is an incredible stupid
On Sep 23, 2013, at 1:36 PM, Domain nikha.org m...@nikha.org wrote:
Better solutions?
One I have used, and continue to use in Apache environments, is place uploads
only in a place where they cannot be executed by turning off such options and
handlers in that directory. This is *in addition*
Hi Arno!
Seems to be the standard behaviour of Apache servers all over the
world!
I was testing this way:
First I renamed a real, proper GIF-file to this.php.nice.gif, put it
in the root of my websites and called it with the browser. Result:
Error 500 Internal Server Error. The logfile tells:
On 10 Feb 2013, at 06:57, AmirBehzad Eslami behzad.esl...@gmail.com wrote:
Stuart, thanks for your detailed response.
I find it unlikely that Apache is your bottleneck,
especially with a service involving MySQL.
How have you come to this conclusion?
Apache is the entry-point to our
Dear list,
We're a developing a PHP-driven web service with a RESTful API,
and we have a dedicated Linux server for that with 6GB of RAM.
Since this service will be used by many clients in a concurrent
manner, we'll face with a high-load on our web-server. But
web-services are different from
Bastien Koert
On 2013-02-09, at 11:42 AM, AmirBehzad Eslami behzad.esl...@gmail.com wrote:
Dear list,
We're a developing a PHP-driven web service with a RESTful API,
and we have a dedicated Linux server for that with 6GB of RAM.
Since this service will be used by many clients in a
Bastein,
Response is unique per request, and not cachable. The app
fetches records from MySQL (say, templates), performs a
process on them, and returns the generated output as JSON.
We were thinking to use Redis to reduce queries against
MySQL, but still Apache will remain as our bottleneck.
On 9 Feb 2013, at 16:42, AmirBehzad Eslami behzad.esl...@gmail.com wrote:
We're a developing a PHP-driven web service with a RESTful API,
and we have a dedicated Linux server for that with 6GB of RAM.
Since this service will be used by many clients in a concurrent
manner, we'll face with a
On Sat, Feb 9, 2013 at 12:21 PM, Stuart Dallas stu...@3ft9.com wrote:
On 9 Feb 2013, at 16:42, AmirBehzad Eslami behzad.esl...@gmail.com wrote:
We're a developing a PHP-driven web service with a RESTful API,
and we have a dedicated Linux server for that with 6GB of RAM.
I would personally
Stuart, thanks for your detailed response.
I find it unlikely that Apache is your bottleneck,
especially with a service involving MySQL.
How have you come to this conclusion?
Apache is the entry-point to our service, and I did a
benchmark with AB to see how it can handle concurrent
requests
Perhaps someone can read this backtrace.
This is a problem that causes Apache to not send any output at all.
Doing a die() just before one particular require_once prevents the
issue. If I move that die() into the required file and place it just
after the opening PHP tag, I get the error
On Fri, Feb 24, 2012 at 3:58 AM, Daniel Fenn danielx...@gmail.com wrote:
Hi,
Just a quick question, will I be able to run Apache 2.4.1 and php
5.3.10 together? Or will I need to wait for php to be updated? I'm
setting this up on CentOs 6.2
Regards,
Daniel Fenn
--
PHP General Mailing
Hi Daniel,
You should be able to. Haven't tried it with that specific version, but
generally PHP is designed to run with any version of Apache. If it doesn't
work as a module you should always be able to compile it as a fastcgi
application and that should work. Then you can even setup different
Hey guys,
Thank-you for getting back to me. Considering that I'm building
everything again from the ground up, I think I will make the change
from running mod_php and go for a fastcgi setup.
My only other question is, if I go with fastcgi will it work with
accelerators such as APC and xcache? I
Just a quick question, will I be able to run Apache 2.4.1 and php
5.3.10 together? Or will I need to wait for php to be updated? I'm
setting this up on CentOs 6.2
Regards,
Daniel Fenn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Just a quick question, will I be able to run Apache 2.4.1 and php
5.3.10 together? Or will I need to wait for php to be updated? I'm
setting this up on CentOs 6.2
Regards,
Daniel Fenn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there, new to this list.
I have a problem I can't seem to figure out. Here goes.
PHP page has 100s of textboxes on it. Submit on the development machine,
everything works as expected. Submit on live machine - only part of the
$_POST variables are there. The script doesn't stop executing - it
On Thu, Jan 6, 2011 at 22:55, Jimmy Stewpot mail...@oranged.to wrote:
Is there a method or way that I can enable a 'debug' mode in php which would
help me track down and identify the root cause of these problems?
If anyone has any suggestions on what I can do to try and get further down
the
On Fri, 7 Jan 2011 16:24:13 -0500
Daniel Brown danbr...@php.net wrote:
On Thu, Jan 6, 2011 at 22:55, Jimmy Stewpot mail...@oranged.to
wrote:
Is there a method or way that I can enable a 'debug' mode in php
which would help me track down and identify the root cause of these
problems? If
Hello,
I have been working over the last few months to try and get to the bottom of
why our apache processes are regularly being killed with a Sig 11 (Segmentation
Fault). Here are the messages in the kern.log
httpd[22309]: segfault at 7fffd01b4ffc rip 2b1f935c064c rsp
Guys,
Google announced this
morninghttp://googlewebmastercentral.blogspot.com/2010/11/make-your-websites-run-faster.htmltheir
mod_pagespeed http://code.google.com/speed/page-speed/docs/module.html to
improve Apache's performance. It really looks promising, what do you guys
think?
Me and Daniel
Thiago,
I would like to join this. Let me know how I can help you with this. Please
be explicit with your requests so that we can totally test it and see if it
could pose any risk to acceleration services provided by CDNs.
Regards,
Shreyas
On Wed, Nov 3, 2010 at 11:51 PM, Thiago H. Pojda
On Wed, Nov 3, 2010 at 14:48, Shreyas Agasthya shreya...@gmail.com wrote:
Thiago,
I would like to join this. Let me know how I can help you with this. Please
be explicit with your requests so that we can totally test it and see if it
could pose any risk to acceleration services provided by
They are doing a preso about it @ ApacheCon.
On Wed, Nov 03, 2010 at 03:34:01PM -0400, Daniel P. Brown wrote:
On Wed, Nov 3, 2010 at 14:48, Shreyas Agasthya shreya...@gmail.com wrote:
Thiago,
I would like to join this. Let me know how I can help you with this. Please
be explicit with
Hello,
I have performance problems during execution of php code.
With strace I have recorded system calls which are called by apache httpd
and what I have is quite singular.
It seems that php apache module before read file recursively scan with lstat
all the path (please also see attached file
(Sorry if this is a duplicate. I sent one earlier with OT: prefixing the
subject line and I think this list software kills the message despite being
proper netiquette. *sigh*)
I have your basic web tree setup.
develo...@mypse:/var/www/dart2$ tree -d -I 'CVS'
|-- UPDATES
|-- ajax
|-- images
|
Daevid Vincent wrote:
(Sorry if this is a duplicate. I sent one earlier with OT: prefixing the
subject line and I think this list software kills the message despite being
proper netiquette. *sigh*)
I have your basic web tree setup.
develo...@mypse:/var/www/dart2$ tree -d -I 'CVS'
|-- UPDATES
-Original Message-
From: Robert Cummings [mailto:rob...@interjinn.com]
Sent: Thursday, April 01, 2010 7:23 PM
To: Daevid Vincent
Cc: php-general@lists.php.net
Subject: Re: [PHP] Apache rule/directive to stop serving PHP
pages from /var/www/includes/
Daevid Vincent wrote
27, 2009 at 6:24 AM, Julian Muscat Doublesin
opensourc...@gmail.com wrote:
Hello Everyone,
I have installed PHP, Apache and MySQL on a Windows 7 machine
:(.
I
would prefer linux or unix :)
These have been setup and working correctly. However when I access
Hello Everyone,
I have installed PHP, Apache and MySQL on a Windows 7 machine :(. I
would prefer linux or unix :)
These have been setup and working correctly. However when I access a php
page. I get the save as dialog. Has anyone ever experinced such a situation.
Can anyone please advise
That means its not recognizing the php code and thats why its giving the
download prompt. why not install xampp or wamp.
On Fri, Nov 27, 2009 at 4:24 AM, Julian Muscat Doublesin
opensourc...@gmail.com wrote:
Hello Everyone,
I have installed PHP, Apache and MySQL on a Windows 7 machine
Julian Muscat Doublesin wrote:
Hello Everyone,
I have installed PHP, Apache and MySQL on a Windows 7 machine :(. I
would prefer linux or unix :)
These have been setup and working correctly. However when I access a php
page. I get the save as dialog. Has anyone ever experinced
Muscat Doublesin
opensourc...@gmail.com wrote:
Hello Everyone,
I have installed PHP, Apache and MySQL on a Windows 7 machine :(. I
would prefer linux or unix :)
These have been setup and working correctly. However when I access a php
page. I get the save as dialog. Has anyone ever
Regards,
Jonathan
On Fri, Nov 27, 2009 at 6:24 AM, Julian Muscat Doublesin
opensourc...@gmail.com wrote:
Hello Everyone,
I have installed PHP, Apache and MySQL on a Windows 7 machine :(.
I
would prefer linux or unix :)
These have been setup and working correctly. However
application/x-httpd-php .php
DirectoryIndex index.php index.html index.html.var
Regards,
Jonathan
On Fri, Nov 27, 2009 at 6:24 AM, Julian Muscat Doublesin
opensourc...@gmail.com wrote:
Hello Everyone,
I have installed PHP, Apache and MySQL on a Windows 7 machine
,
I have installed PHP, Apache and MySQL on a Windows 7 machine :(.
I
would prefer linux or unix :)
These have been setup and working correctly. However when I access a php
page. I get the save as dialog. Has anyone ever experinced such a
situation.
Can anyone please
installed PHP, Apache and MySQL on a Windows 7 machine :(.
I
would prefer linux or unix :)
These have been setup and working correctly. However when I access a php
page. I get the save as dialog. Has anyone ever experinced such a
situation.
Can anyone please advise.
Thank you very
as jim stated you'll get a undefined function error if php_mysql
extension is not loaded.
in this case probably the MySql server is not running, or not running
on the default port (most likely the former)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hey all,
I modified an Apache config file to list the HTML file first,
after the PHP file, it still pulls up the PHP file first.
Is there another setting in Apache I should be looking for?
I need it to check for the HTML file first.
Thanks,
Skip
IfModule dir_module
DirectoryIndex
I have no doubt that this is due to an update that was done on my
system at some point, but unfortunately I can't pinpoint where. The
upshot is that PHP is completely unresponsive for me when run from
Apache and I'm not sure where to look. I recognize that this isn't an
apache support
On Tue, Oct 27, 2009 at 9:18 AM, Jason Lixfeld
jason-lists@lixfeld.ca wrote:
I have no doubt that this is due to an update that was done on my system at
some point, but unfortunately I can't pinpoint where. The upshot is that
PHP is completely unresponsive for me when run from Apache and
Jason Lixfeld wrote:
I have no doubt that this is due to an update that was done on my system
at some point, but unfortunately I can't pinpoint where. The upshot is
that PHP is completely unresponsive for me when run from Apache and I'm
not sure where to look. I recognize that this isn't an
On 2009-10-27, at 9:33 AM, Shawn McKenzie wrote:
Jason Lixfeld wrote:
I have no doubt that this is due to an update that was done on my
system
at some point, but unfortunately I can't pinpoint where. The
upshot is
that PHP is completely unresponsive for me when run from Apache and
I'm
On Tue, 2009-10-27 at 09:24 -0400, Bastien Koert wrote:
On Tue, Oct 27, 2009 at 9:18 AM, Jason Lixfeld
jason-lists@lixfeld.ca wrote:
I have no doubt that this is due to an update that was done on my system at
some point, but unfortunately I can't pinpoint where. The upshot is that
Ashley Sheridan wrote:
On Tue, 2009-10-27 at 09:24 -0400, Bastien Koert wrote:
On Tue, Oct 27, 2009 at 9:18 AM, Jason Lixfeld
jason-lists@lixfeld.ca wrote:
I have no doubt that this is due to an update that was done on my system at
some point, but unfortunately I can't pinpoint where.
-general@lists.php.net
Subject: Re: [PHP] PHP+Apache suddenly not working
Ashley Sheridan wrote:
On Tue, 2009-10-27 at 09:24 -0400, Bastien Koert wrote:
On Tue, Oct 27, 2009 at 9:18 AM, Jason Lixfeld
jason-lists@lixfeld.ca wrote:
I have no doubt that this is due to an update
-general@lists.php.net
Subject: Re: [PHP] PHP+Apache suddenly not working
Ashley Sheridan wrote:
On Tue, 2009-10-27 at 09:24 -0400, Bastien Koert wrote:
On Tue, Oct 27, 2009 at 9:18 AM, Jason Lixfeld
jason-lists@lixfeld.ca wrote:
I have no doubt that this is due to an update
To: a...@ashleysheridan.co.uk
CC: phps...@gmail.com; jason-lists@lixfeld.ca; php-general@lists.php.net
Subject: Re: [PHP] PHP+Apache suddenly not working
Ashley Sheridan wrote:
On Tue, 2009-10-27 at 09:24 -0400, Bastien Koert wrote:
On Tue, Oct 27, 2009 at 9:18 AM, Jason Lixfeld
jason
Date: Tue, 27 Oct 2009 16:20:45 +
Subject: RE: [PHP] PHP+Apache suddenly not working
On Tue, 2009-10-27 at 19:16 +0300, Yuri Yarlei wrote:
Hi all,
If the basic functions of php not work, maybe the extension for php5 or 4
are disabled, or the library is missing, sometimes
@lixfeld.ca;
php-general@lists.php.net
Date: Tue, 27 Oct 2009 16:20:45 +
Subject: RE: [PHP] PHP+Apache suddenly not working
On Tue, 2009-10-27 at 19:16 +0300, Yuri Yarlei wrote:
Hi all,
If the basic functions of php not work, maybe the extension for
php5 or 4 are disabled, or the library
Hey Russell,
After Going through all the threads in this post, it is correct to say, GET
Rid of the space. Use - hyphen for SEO friendly URL's. Its completely
OK.
Other thing which is very handy is urlencode and urldecode functions. When
you are sending a query string use urlencode function.
On Wed, 2009-10-07 at 16:49 -0400, Paul M Foster wrote:
On Wed, Oct 07, 2009 at 11:52:00AM +0100, Russell Seymour wrote:
Morning,
I am trying to make my URLs more search engine friendly and I have come
up against a problem.
I want the following URL:
Morning,
I am trying to make my URLs more search engine friendly and I have come
up against a problem.
I want the following URL:
mysite.example.com/articles/Test Story
to be proxied to
mysite.example.com/index.php?m=articlest=Test%20Story
I have the following rule in my Apache
- Original Message
From: Russell Seymour russell.seym...@turtlesystems.co.uk
To: php-general@lists.php.net
Sent: Wed, October 7, 2009 3:52:00 AM
Subject: [PHP] Apache Rewrite Issues
Morning,
I am trying to make my URLs more search engine friendly and I have come up
against
On Wed, Oct 07, 2009 at 11:52:00AM +0100, Russell Seymour wrote:
Morning,
I am trying to make my URLs more search engine friendly and I have come
up against a problem.
I want the following URL:
mysite.example.com/articles/Test Story
to be proxied to
Jonathan Tapicer wrote:
What version, VC6 or VC9, TS or NTS? I use VC6 TS and the dll is there...
Of cause no one has asked yet which version you use if you have to test
BOTH Apache and IIS ;)
--
Lester Caine - G8HFL
-
Contact -
Hi,
I just downloaded the new stable version of PHP 5.3 and I couldnt find the
php5apache2_2.dll file.
Is the apache module on windows no longer supported?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What version, VC6 or VC9, TS or NTS? I use VC6 TS and the dll is there...
On Wed, Jul 1, 2009 at 7:31 PM, Pablo Viquezpviq...@pabloviquez.com wrote:
Hi,
I just downloaded the new stable version of PHP 5.3 and I couldnt find the
php5apache2_2.dll file.
Is the apache module on windows no
Yes, you need to use the V6 installer, I did the same thing with the V9 and
it won't work. Only after uninstalling PHP did I see that line of text
saying which one to use...
On Wed, Jul 1, 2009 at 5:54 PM, Jonathan Tapicer tapi...@gmail.com wrote:
What version, VC6 or VC9, TS or NTS? I use VC6
:50 PM
Subject: Re: [PHP] Apache module PHP 5.3 on Windows
Yes, you need to use the V6 installer, I did the same thing with the V9
and
it won't work. Only after uninstalling PHP did I see that line of text
saying which one to use...
On Wed, Jul 1, 2009 at 5:54 PM, Jonathan Tapicer tapi
Hi all
My server is centos 5.1 with php 5.1.6.
In my app I want apache to add user through sudo.
My sudoers file is:
%apache ALL=(ALL) NOPASSWD: ALL
%tony ALL=(ALL) NOPASSWD: ALL
My test.php í:
?php
$username=hixhix;
system(/usr/bin/sudo /usr/sbin/useradd -s /sbin/nologin -M
vuthecuong wrote:
Hi all
My server is centos 5.1 with php 5.1.6.
In my app I want apache to add user through sudo.
My sudoers file is:
%apache ALL=(ALL) NOPASSWD: ALL
%tony ALL=(ALL) NOPASSWD: ALL
My test.php í:
?php
$username=hixhix;
system(/usr/bin/sudo /usr/sbin/useradd -s /sbin/nologin -M
On Fri, 2009-05-22 at 05:01 -0700, Michael A. Peters wrote:
Make damn sure you validate the $username variable whatever solution
you
end up using.
Yeah, I have a funny story along those lines. I was doing the same sort
of thing, but allowing it to change passwords for a user. Luckily it was
Michael A. Peters wrote:
vuthecuong wrote:
Hi all
My server is centos 5.1 with php 5.1.6.
In my app I want apache to add user through sudo.
My sudoers file is:
%apache ALL=(ALL) NOPASSWD: ALL
%tony ALL=(ALL) NOPASSWD: ALL
My test.php í:
?php
$username=hixhix;
vuthecuong wrote:
Yeah I know my script don't care at all about security. I'm keeping it fot
the sake of simplicity.
After making it 'work', I will take a look seriously about security.
So, why it not create user for me?
thanks and regards
I'm not that familiar with sudo, but I suspect it
Sometime when I run the program http://localhost/DigitalBiz4U/index.php in a
browser this message come up and the page is not displayed.
Apache HTTP Server stopped working and was closed message on screen.
Apache version: Apache2.2.11
PHP version: 5.2.8
OS: Vista
IIS is turned off
On Fri, Mar 20, 2009 at 17:27, Ernie Kemp ernie.k...@sympatico.ca wrote:
Please point me in the right direction with this as this is becoming a pain
in the butt.
Ernie,
Check in with the Apache folks:
http://httpd.apache.org/lists.html
--
/Daniel P. Brown
Hi all,
I wrote a PHP script running in Apache which takes more than 30 seconds to
complete. It uses set_time_limit() to extend the time it is allowed to run.
The script generates thumbnails from a list of images. Upon completion, the
script redirects the browser to another page using HTTP
Thanks for your contribution Virgil. Unfortunately my file is not index.php
(nor anything else declared in a DirectoryIndex directive).
I'm planning to fix the issue using a lock to test that the script is not
already running before starting it again, but I would like to find out the
explanation
Marc Venturini napsal(a):
Hi all,
I wrote a PHP script running in Apache which takes more than 30 seconds to
complete. It uses set_time_limit() to extend the time it is allowed to run.
The script generates thumbnails from a list of images. Upon completion, the
script redirects the browser to
On Wed, Mar 11, 2009 at 10:30 AM, Martin Zvarík mzva...@gmail.com wrote:
Marc Venturini napsal(a):
Hi all,
I wrote a PHP script running in Apache which takes more than 30 seconds to
complete. It uses set_time_limit() to extend the time it is allowed to
run.
The script generates thumbnails
Hi all,
Thank you all very much for your contributions.
I tried to monitor the network with Wireshark: there is only one request
from my browser to the server, and not any answer (redirect or otherwise).
This means the problem is definitely not with unexpected browser requests.
Calling die() at
Marc Venturini wrote:
Hi all,
Thank you all very much for your contributions.
I tried to monitor the network with Wireshark: there is only one request
from my browser to the server, and not any answer (redirect or otherwise).
This means the problem is definitely not with unexpected browser
Nathan Rixham wrote:
Marc Venturini wrote:
Hi all,
Thank you all very much for your contributions.
I tried to monitor the network with Wireshark: there is only one request
from my browser to the server, and not any answer (redirect or
otherwise).
This means the problem is definitely not with
Hi all,
I wrote a PHP script running in Apache which takes more than 30 seconds to
complete. It uses set_time_limit() to extend the time it is allowed to run.
The script generates thumbnails from a list of images. Upon completion, the
script redirects the browser to another page using HTTP
Php and apache memory problem.
I have apache and php, recently added APC module to php, and after
that each apache process consumes 30-100 mb of resident memory.
Operating System is Linux.
Does anybody have Idea how to optimize php to consume less memory?
Your help is greatly appreciated,
Thank
Shota Gedenidze wrote:
Php and apache memory problem.
I have apache and php, recently added APC module to php, and after
that each apache process consumes 30-100 mb of resident memory.
Operating System is Linux.
Does anybody have Idea how to optimize php to consume less memory?
Paul M Foster wrote:
On Mon, Feb 16, 2009 at 08:34:22PM +, Stuart wrote:
FWIW, I've been doing computers since before the CP/M days
(pre-pre-DOS), so I do know the difference between absolute and relative
paths.
I'm a little doubtful about the browser specifying things like the URLs
I'm submitting a url like this:
http://mysite.com/index.php/alfa/bravo/charlie/delta
The index.php calls has code to decode the url segments
(alfa/bravo/charlie/delta). It determines that the controller is alfa,
the method is bravo, and converts charlie and delta to $_GET['charlie']
=
2009/2/17 Paul M Foster pa...@quillandmouse.com:
On Mon, Feb 16, 2009 at 08:34:22PM +, Stuart wrote:
snip
This is your problem, you're not understanding where the paths are
being resolved. Apache has absolutely no involvement in resolving
relative paths in your HTML files to absolute
On Tue, Feb 17, 2009 at 12:27:58PM +, Stuart wrote:
2009/2/17 Paul M Foster pa...@quillandmouse.com:
On Mon, Feb 16, 2009 at 08:34:22PM +, Stuart wrote:
snip
This is your problem, you're not understanding where the paths are
being resolved. Apache has absolutely no
2009/2/17 Paul M Foster pa...@quillandmouse.com:
Well, the only way I know this is to look at the Apache logs. I was
getting a lot of 3xx and 4xx errors (which don't show up directly in the
browser), and looking at the requests, it appears that the browser is
indeed dictating the place to find
2009/2/16 Paul M Foster pa...@quillandmouse.com:
I'm submitting a url like this:
http://mysite.com/index.php/alfa/bravo/charlie/delta
The index.php calls has code to decode the url segments
(alfa/bravo/charlie/delta). It determines that the controller is alfa,
the method is bravo, and
Paul M Foster wrote:
I'm submitting a url like this:
http://mysite.com/index.php/alfa/bravo/charlie/delta
Why would you want to do such a thing?
If you want parameters in the filename without using get, use
mod_rewrite and explode the page name - and use a delimiter or than a /
- IE use an
Symfony uses exactly this method for pretty urls. Check it out. Maybe it has
everything you want :). Have a look at symfony's .htaccess rewrite rules at
least. You have a few possibilities here: You can make ur own rewrite for
urls that contain index.php or rewrite
I'm submitting a url like this:
http://mysite.com/index.php/alfa/bravo/charlie/delta
The index.php calls has code to decode the url segments
(alfa/bravo/charlie/delta). It determines that the controller is alfa,
the method is bravo, and converts charlie and delta to $_GET['charlie']
=
On Mon, Feb 16, 2009 at 07:30:57PM +0200, Thodoris wrote:
I'm submitting a url like this:
http://mysite.com/index.php/alfa/bravo/charlie/delta
The index.php calls has code to decode the url segments
(alfa/bravo/charlie/delta). It determines that the controller is alfa,
the method is
2009/2/16 Paul M Foster pa...@quillandmouse.com:
On Mon, Feb 16, 2009 at 07:30:57PM +0200, Thodoris wrote:
I'm submitting a url like this:
http://mysite.com/index.php/alfa/bravo/charlie/delta
The index.php calls has code to decode the url segments
(alfa/bravo/charlie/delta). It determines
On Mon, 2009-02-16 at 20:34 +, Stuart wrote:
2009/2/16 Paul M Foster pa...@quillandmouse.com:
On Mon, Feb 16, 2009 at 07:30:57PM +0200, Thodoris wrote:
I'm submitting a url like this:
http://mysite.com/index.php/alfa/bravo/charlie/delta
The index.php calls has code to decode
2009/2/16 Ashley Sheridan a...@ashleysheridan.co.uk:
On Mon, 2009-02-16 at 20:34 +, Stuart wrote:
2009/2/16 Paul M Foster pa...@quillandmouse.com:
On Mon, Feb 16, 2009 at 07:30:57PM +0200, Thodoris wrote:
I'm submitting a url like this:
1 - 100 of 1102 matches
Mail list logo