FREE PHP hosting sites that support api call from gemini

impure112233

Journeyman
patulong po para po eto sa capstone project, nag try po ako nang infinityfree yung sa project po is basically a chatbot tulad lang nang gemini

ok naman po mag login naka logged in naman

pero pag click ko nang feature: "chatbot.php"

ganito yung kinalabasan

pero kapag local lng okay naman.



mp4poge3hb8g1.webp

1766220396543.webp
 
di ko pa yan na try na hosting tho if may available na terminal for access. Try mo i check yong permissions. Parang sa directory permission yan. Pa solve mo sa claude
 
di ko pa yan na try na hosting tho if may available na terminal for access. Try mo i check yong permissions. Parang sa directory permission yan. Pa solve mo sa claude
biniblock daw yung api request. Medyo hesitant rin ako gumamit ng ρáíd domain o hosting kasi walang garantiya na hindi pa rin mangyayari yung 403 error.
 
what about htaccess? meron ka nyan?
yes po eto po ung result nya oh:

##################################################

#

# DO NOT EDIT THIS FILE

#

# Create a new .htaccess file in your htdocs

# directory (or example.com/htdocs/ directory)

# to add your own rules or override these rules.

#

##################################################





DirectoryIndex index.php index.html index.htm index2.html



ErrorDocument 403 You do not have permission to view the full content of this post. Log in or register now.

ErrorDocument 404 You do not have permission to view the full content of this post. Log in or register now.

ErrorDocument 500 You do not have permission to view the full content of this post. Log in or register now.
 
di ko pa yan na try na hosting tho if may available na terminal for access. Try mo i check yong permissions. Parang sa directory permission yan. Pa solve mo sa claude
infinity free gamit nya pero parang wala namang limitation yung IF sa API
 
Surebol na hosting ang iFastNet. Yung support nila mismo ang tumutulong sa pag-aayos ng code mo. Sa InfinityFree naman, News API ang gamit ko diyan at wala naman akong naging problema.


Try mo na lang mag-ask mismo sa support ng InfinityFree para sila ang mag-set ng .htaccess mo, kasi hindi puwedeng gumamit ng terminal sa free hosting.
 
Ngayon ko lang nakita problem mo, di na kasi ata pwede ma update yung CHMOD ng files. Nag update ng file manager si infinity free. Ask mo tlga si support bro or check mo .htaccess mo outside the public_html na folder.
 
May limit lang si infinity
1. Execution time limits
InfinityFree has very short PHP execution time
If Gemini response is slow → script may be killed
Streaming responses = ❌ bad idea
2. Rate & usage limits
Too many API calls in a short time → account suspension
No background workers → every request must finish fast
3. No cron jobs
You cannot:
Pre-fetch responses
Run scheduled API calls
Cache automatically on a schedule
4. Memory limits
Large prompts or large responses may cause:
500 Internal Server Error
Silent script failure
🚫 What NOT to do on InfinityFree with Gemini
❌ Chatbot with many users
❌ Long prompts / large context
❌ Streaming responses
❌ AI image/video generation
❌ High-frequency API calls
✅ What DOES work well
✔️ Small demo using Gemini
✔️ Low-traffic chatbot (personal use)
✔️ One-off API calls
✔️ Learning / testing Gemini integration
✔️ Portfolio project
 

Similar threads

About this Thread

  • 12
    Replies
  • 777
    Views
  • 7
    Participants
Last reply from:
PeanutEater

Trending Topics

Online now

Members online
1,090
Guests online
1,533
Total visitors
2,623

Forum statistics

Threads
2,270,474
Posts
28,934,519
Members
1,240,843
Latest member
jaydee124
Back
Top