PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > php.general > Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped) [SOLVED]
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped) [SOLVED]

Réponse
 
LinkBack Outils de la discussion
Vieux 12/09/2007, 21h42   #1
Zbigniew Szalbot
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped) [SOLVED]

Dear Daniel and all!

2007/9/12, Daniel Brown <parasane@gmail.com>:
> > > > > > > <IfModule mod_dir.c>
> > > > > > > <IfModule mod_php3.c>
> > > > > > > <IfModule mod_php4.c>
> > > > > > > DirectoryIndex index.php index.php3 index.html
> > > > > > > </IfModule>
> > > > > > > <IfModule mod_php5.c>
> > > > > > > DirectoryIndex index.php index.php3 index.html
> > > > > > > </IfModule>
> > > > > > > <IfModule !mod_php4.c>
> > > > > > > DirectoryIndex index.php3 index.html
> > > > > > > </IfModule>
> > > > > > > </IfModule>
> > > > > > > <IfModule !mod_php3.c>
> > > > > > > <IfModule mod_php4.c>
> > > > > > > DirectoryIndex index.php index.html
> > > > > > > </IfModule>
> > > > > > > <IfModule !mod_php4.c>
> > > > > > > DirectoryIndex index.html
> > > > > > > </IfModule>
> > > > > > > </IfModule>
> > > > > > > </IfModule>


> Try commenting out the whole block of data you sent to the list
> from your httpd.conf file and entering only this instead:
>
> <IfModule mod_dir.c>
> DirectoryIndex index.php index.php3 index.html index.htm
> </IfModule>


Problem solved! Daniel - this really ed. I do not even know how to
thank you but surely, this is amazing. This thing actually works!

Thanks to all!

Zbigniew Szalbot
  Réponse avec citation
Vieux 12/09/2007, 21h48   #2
Daniel Brown
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped) [SOLVED]

On 9/12/07, Zbigniew Szalbot <zszalbot@gmail.com> wrote:
> Dear Daniel and all!
>
> 2007/9/12, Daniel Brown <parasane@gmail.com>:
> > > > > > > > <IfModule mod_dir.c>
> > > > > > > > <IfModule mod_php3.c>
> > > > > > > > <IfModule mod_php4.c>
> > > > > > > > DirectoryIndex index.php index.php3 index.html
> > > > > > > > </IfModule>
> > > > > > > > <IfModule mod_php5.c>
> > > > > > > > DirectoryIndex index.php index.php3 index.html
> > > > > > > > </IfModule>
> > > > > > > > <IfModule !mod_php4.c>
> > > > > > > > DirectoryIndex index.php3 index.html
> > > > > > > > </IfModule>
> > > > > > > > </IfModule>
> > > > > > > > <IfModule !mod_php3.c>
> > > > > > > > <IfModule mod_php4.c>
> > > > > > > > DirectoryIndex index.php index.html
> > > > > > > > </IfModule>
> > > > > > > > <IfModule !mod_php4.c>
> > > > > > > > DirectoryIndex index.html
> > > > > > > > </IfModule>
> > > > > > > > </IfModule>
> > > > > > > > </IfModule>

>
> > Try commenting out the whole block of data you sent to the list
> > from your httpd.conf file and entering only this instead:
> >
> > <IfModule mod_dir.c>
> > DirectoryIndex index.php index.php3 index.html index.htm
> > </IfModule>

>
> Problem solved! Daniel - this really ed. I do not even know how to
> thank you but surely, this is amazing. This thing actually works!
>
> Thanks to all!
>
> Zbigniew Szalbot
>


No problem at all.

Now my guess at explaining it....

Notice how `IfModule mod_php5.c` if only mentioned when nested
inside of the `IfModule mod_php3.c` container. If you want to have
the intelligent-detection of PHP's availability, you should be able to
update this:

<IfModule mod_dir.c>
DirectoryIndex index.php index.php3 index.html index.htm
</IfModule>

.... like so:

<IfModule mod_dir.c>
<IfModule mod_php5.c>
DirectoryIndex index.php index.php3 index.html index.htm
</IfModule>
<!IfModule mod_php5.c>
DirectoryIndex index.html index.htm
</IfModule>
</IfModule>

--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

Give a man a fish, he'll eat for a day. Then you'll find out he was
allergic and is hospitalized. See? No good deed goes unpunished....
  Réponse avec citation
Vieux 12/09/2007, 21h52   #3
Zbigniew Szalbot
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped) [SOLVED]

Hello,

2007/9/12, Daniel Brown <parasane@gmail.com>:
> No problem at all.


Your was very much appreciated!

>
> Now my guess at explaining it....
>
> Notice how `IfModule mod_php5.c` if only mentioned when nested
> inside of the `IfModule mod_php3.c` container. If you want to have
> the intelligent-detection of PHP's availability, you should be able to
> update this:
>
> <IfModule mod_dir.c>
> DirectoryIndex index.php index.php3 index.html index.htm
> </IfModule>
>
> .... like so:
>
> <IfModule mod_dir.c>
> <IfModule mod_php5.c>
> DirectoryIndex index.php index.php3 index.html index.htm
> </IfModule>
> <!IfModule mod_php5.c>
> DirectoryIndex index.html index.htm
> </IfModule>
> </IfModule>


By now you almost made me an expert and the above should actually say:

<IfModule mod_dir.c>
<IfModule mod_php5.c>
DirectoryIndex index.php index.php3 index.html index.htm
</IfModule>
<IfModule !mod_php5.c>
DirectoryIndex index.html index.htm
</IfModule>
</IfModule>

Regards,

Zbigniew Szalbot
  Réponse avec citation
Vieux 12/09/2007, 22h16   #4
Daniel Brown
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped) [SOLVED]

On 9/12/07, Zbigniew Szalbot <zszalbot@gmail.com> wrote:
> Hello,
>
> 2007/9/12, Daniel Brown <parasane@gmail.com>:
> > No problem at all.

>
> Your was very much appreciated!
>
> >
> > Now my guess at explaining it....
> >
> > Notice how `IfModule mod_php5.c` if only mentioned when nested
> > inside of the `IfModule mod_php3.c` container. If you want to have
> > the intelligent-detection of PHP's availability, you should be able to
> > update this:
> >
> > <IfModule mod_dir.c>
> > DirectoryIndex index.php index.php3 index.html index.htm
> > </IfModule>
> >
> > .... like so:
> >
> > <IfModule mod_dir.c>
> > <IfModule mod_php5.c>
> > DirectoryIndex index.php index.php3 index.html index.htm
> > </IfModule>
> > <!IfModule mod_php5.c>
> > DirectoryIndex index.html index.htm
> > </IfModule>
> > </IfModule>

>
> By now you almost made me an expert and the above should actually say:
>
> <IfModule mod_dir.c>
> <IfModule mod_php5.c>
> DirectoryIndex index.php index.php3 index.html index.htm
> </IfModule>
> <IfModule !mod_php5.c>
> DirectoryIndex index.html index.htm
> </IfModule>
> </IfModule>
>
> Regards,
>
> Zbigniew Szalbot
>


Heh. Yup, you're right.... forgot the ! to indicate NOT in the second case.

--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

Give a man a fish, he'll eat for a day. Then you'll find out he was
allergic and is hospitalized. See? No good deed goes unpunished....
  Réponse avec citation
Vieux 12/09/2007, 22h17   #5
Per Jessen
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped) [SOLVED]

Zbigniew Szalbot wrote:

> Problem solved! Daniel - this really ed. I do not even know how to
> thank you but surely, this is amazing. This thing actually works!


Amazing indeed. PHP does good work for me, but I'm not impressed.


/Per Jessen, Zürich
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 05h12.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11969 seconds with 13 queries