Giter Site home page Giter Site logo

Comments (10)

f3l1x avatar f3l1x commented on June 6, 2024 1

I was fixing other bug, now it's time for your app. :-)

from php.

DmitryAdam avatar DmitryAdam commented on June 6, 2024

it's seems like the htaccess issue,
have you tried to remove the htaccess firest?

from php.

reregin avatar reregin commented on June 6, 2024

what do you mean by htaccess firest?

from php.

solamichealolawale avatar solamichealolawale commented on June 6, 2024

I have this same issue for vanilla PHP with no build or framework. I don't know what to do again. In my case, I don't have any .htaccess file

vercel.json

{
  "functions": {
    "api/*.php": {
      "runtime": "[email protected]"
    }
  }
}

api/index.php

<?php

// Forward Vercel requests to normal index.php
require __DIR__ . '../index.php';

Here is my project structure

project
└── api
     └── index.php
└── css
└── fonts
└── images
└── js
└── index.php
└── other_php_pages.php
└── vercel.json

from php.

f3l1x avatar f3l1x commented on June 6, 2024

@solamichealolawale Can you show me repository and public vercel URL?

from php.

solamichealolawale avatar solamichealolawale commented on June 6, 2024

@f3l1x sure.

Repo:https://github.com/solamichealolawale/payit
URL: https://payit-chi.vercel.app/

from php.

solamichealolawale avatar solamichealolawale commented on June 6, 2024

@f3l1x sure.

Repo:https://github.com/solamichealolawale/payit URL: https://payit-chi.vercel.app/

@f3l1x Can you view this?

from php.

moghwan avatar moghwan commented on June 6, 2024

bump, bug still occurring with Laravel and PHP runtimes 0.7.0 & 0.6.1

from php.

moghwan avatar moghwan commented on June 6, 2024

fixed on my end, at vercel level I've set output directory value to api .

from php.

solamichealolawale avatar solamichealolawale commented on June 6, 2024

I was fixing other bug, now it's time for your app. :-)

@f3l1x any update on this?

from php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.